pkgsrc/misc/molden/patches/patch-aa
joerg effdf005c9 Add DESTDIR support. Add modular Xorg support. Update to molden4.6
and remove interactive stage for fetching.

Too many changes to list here, see
ftp://ftp.cmbi.ru.nl/pub/molgraph/molden/HISTORY
2007-08-17 21:38:23 +00:00

26 lines
812 B
Text

$NetBSD: patch-aa,v 1.2 2007/08/17 21:38:23 joerg Exp $
--- makefile.orig 2007-08-11 16:31:46.000000000 +0200
+++ 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
@@ -48,10 +47,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