diff options
Diffstat (limited to 'biology/molden/files/patch-aa')
-rw-r--r-- | biology/molden/files/patch-aa | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/biology/molden/files/patch-aa b/biology/molden/files/patch-aa index d8a7295..82a56ab 100644 --- a/biology/molden/files/patch-aa +++ b/biology/molden/files/patch-aa @@ -8,12 +8,12 @@ +#CC = cc LIBS = -lX11 -lm -LIBSG = -L/usr/X11R6/lib -lGLU -lGL -lXmu -lX11 -lm -+LIBSG = -L${X11BASE}/lib -lGLU -lGL -lXmu -lX11 -lm ++LIBSG = -L${LOCALBASE}/lib -lGLU -lGL -lXmu -lX11 -lm + +### +# FreeBSD +#CC = gcc -+CFLAGS += -c -DDOBACK -DHASTIMER -I${X11BASE}/include ++CFLAGS += -c -DDOBACK -DHASTIMER -I${LOCALBASE}/include +#FC = f77 +.if ${MACHINE_ARCH} == i386 +FFLAGS += -malign-double @@ -24,7 +24,7 @@ +.else +FFLAGS += #-Wno-globals -fno-globals +.endif -+LIBS = -L${X11BASE}/lib -lX11 -lm ++LIBS = -L${LOCALBASE}/lib -lX11 -lm +LDR = ${FC} +### @@ -52,7 +52,7 @@ # (make gmolden) # -LIBSOGL = -lglut -lGLU -lGL -lXmu -lX11 -lm -+LIBSOGL = -L${X11BASE}/lib -lglut -lGLU -lGL -lXmu -lX11 -lm ++LIBSOGL = -L${LOCALBASE}/lib -lglut -lGLU -lGL -lXmu -lX11 -lm # # on linux : # |