2016-01-21 23:40:00 +01:00

27 lines
813 B
Plaintext

$NetBSD: patch-aa,v 1.3 2015/03/21 19:27:56 joerg Exp $
--- makefile.orig 2008-06-24 13:44:16.000000000 +0000
+++ makefile
@@ -13,8 +13,7 @@
# Disregard compiler warnings on rdmolf.f
#
CC = cc
-LIBS = -lX11 -lm
-LIBSG = -L/usr/X11R6/lib -lGLU -lGL -lXmu -lX11 -lm
+LIBS = -L${X11BASE}/lib -R${X11BASE}/lib -lX11 -lm
# Silicon Graphics
#CFLAGS = -c -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
@@ -52,10 +51,9 @@ LIBSG = -L/usr/X11R6/lib -lGLU -lGL -lXm
# with GCC4.0 or higher replace the line with:
# 'external gfortran_iargc'
#
-CFLAGS = -c -I/usr/X11R6/include -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
+CFLAGS += -c -I${X11BASE}/include -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
FC = g77
FFLAGS =
-LIBS = -L/usr/X11R6/lib -lX11 -lm
LDR = g77
# 64 bit machines:
#LIBS = -L/usr/X11R6/lib64 -lX11 -lm