1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/math/ngraph/files/patch-aa

74 lines
1.9 KiB
Plaintext
Raw Normal View History

2000-10-25 04:16:42 +00:00
--- Makefile.orig Sun Oct 22 02:34:42 2000
+++ Makefile Wed Oct 25 13:09:52 2000
@@ -1,26 +1,26 @@
#
MAINVERSION = '"6.03"'
2000-11-15 08:57:35 +00:00
GUIVERSION = '".11"'
-LIBDIR = '"/usr/local/lib/Ngraph"'
-INSTALLDIR = /usr/local/lib/Ngraph
-BINDIR = /usr/local/bin
+LIBDIR = '"${PREFIX}/lib/Ngraph"'
+INSTALLDIR = ${PREFIX}/lib/Ngraph
+BINDIR = ${PREFIX}/bin
#
#
###############################################################################
#
2000-10-25 04:16:42 +00:00
# Linux + Open Motif 2.1 [static link]
#
-CC = gcc
-CCOPTION = -O2 -m486
-MAKE = make
-AR = ar
-RANLIB = ranlib
-STRIP = strip
-DEFS = -DJAPANESE
2000-10-25 04:16:42 +00:00
-PLATFORM = '"for X11 [Linux(glibc2)+Open Motif 2.1]"'
-X11INCLUDE = -I/usr/X11R6/include
-STATICLINK = /usr/X11R6/lib/libXm.a
-X11LIB = -L/usr/X11R6/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM
+#CC = gcc
+#CCOPTION = -O2 -m486
+#MAKE = make
+#AR = ar
+#RANLIB = ranlib
+#STRIP = strip
+#DEFS = -DJAPANESE
2000-10-25 04:16:42 +00:00
+#PLATFORM = '"for X11 [Linux(glibc2)+Open Motif 2.1]"'
+#X11INCLUDE = -I/usr/X11R6/include
+#STATICLINK = /usr/X11R6/lib/libXm.a
+#X11LIB = -L/usr/X11R6/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM
#
#
###############################################################################
2000-10-25 04:16:42 +00:00
@@ -148,17 +148,18 @@
#
# (Thanks to MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>)
#
-#CC = gcc
-#CCOPTION = ${CFLAGS}
-#MAKE = gmake
-#AR = ar
-#RANLIB = ranlib
-#STRIP = strip
-#DEFS = -DJAPANESE
-#PLATFORM = '"for X11 [FreeBSD+Motif2.1]"'
-#X11INCLUDE = -I/usr/X11R6/include -I/usr/dt/include
-#STATICLINK = /usr/dt/lib/libXm.a
-#X11LIB = -L/usr/X11R6/lib -L/usr/dt/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM -lxpg4
+CC ?= gcc
+CFLAGS ?= -O -pipe
+CCOPTION = ${CFLAGS}
+MAKE = gmake
+AR = ar
+RANLIB = ranlib
+STRIP = strip
+DEFS = -DJAPANESE
+PLATFORM = '"for X11 [FreeBSD+Motif2.1]"'
+X11INCLUDE = -I${X11BASE}/include -I/usr/dt/include
+STATICLINK =
+X11LIB = ${MOTIFLIB} -lm -L${X11BASE}/lib -lXext -lXt -lXp -lX11 -lICE -lSM -lxpg4
#
###############################################################################