mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
74 lines
1.9 KiB
Plaintext
74 lines
1.9 KiB
Plaintext
--- Makefile.orig Fri Feb 21 19:53:54 2003
|
|
+++ Makefile Sat Feb 22 18:09:03 2003
|
|
@@ -1,26 +1,26 @@
|
|
#
|
|
MAINVERSION = '"6.03"'
|
|
GUIVERSION = '".30"'
|
|
-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
|
|
#
|
|
#
|
|
###############################################################################
|
|
#
|
|
# Linux + Open Motif 2.1 [dynamic link]
|
|
#
|
|
-CC = gcc
|
|
-CCOPTION = -O2 -m486
|
|
-MAKE = make
|
|
-AR = ar
|
|
-RANLIB = ranlib
|
|
-STRIP = strip
|
|
-DEFS = -DJAPANESE
|
|
-PLATFORM = '"for X11 [Linux(glibc2) + Open Motif]"'
|
|
-X11INCLUDE = -I/usr/X11R6/include
|
|
-STATICLINK =
|
|
-X11LIB = -L/usr/X11R6/lib -lm -lXm -lXext -lXt -lXp -lX11 -lICE -lSM
|
|
+#CC = gcc
|
|
+#CCOPTION = -O2 -m486
|
|
+#MAKE = make
|
|
+#AR = ar
|
|
+#RANLIB = ranlib
|
|
+#STRIP = strip
|
|
+#DEFS = -DJAPANESE
|
|
+#PLATFORM = '"for X11 [Linux(glibc2) + Open Motif]"'
|
|
+#X11INCLUDE = -I/usr/X11R6/include
|
|
+#STATICLINK =
|
|
+#X11LIB = -L/usr/X11R6/lib -lm -lXm -lXext -lXt -lXp -lX11 -lICE -lSM
|
|
#
|
|
#
|
|
###############################################################################
|
|
@@ -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
|
|
#
|
|
###############################################################################
|
|
|