2009-02-06 17:23:26 +01:00
|
|
|
--- Makefile.orig 2008-08-01 22:28:06.000000000 +0900
|
|
|
|
+++ Makefile 2009-02-06 21:39:03.000000000 +0900
|
|
|
|
@@ -2,26 +2,26 @@
|
1999-11-27 02:09:33 +01:00
|
|
|
MAINVERSION = '"6.03"'
|
2009-04-07 01:02:36 +02:00
|
|
|
GUIVERSION = '".48"'
|
2009-02-06 17:23:26 +01:00
|
|
|
ALIGNSIZE = 8
|
1999-11-27 02:09:33 +01:00
|
|
|
-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
|
|
|
|
#
|
|
|
|
#
|
|
|
|
###############################################################################
|
|
|
|
#
|
2003-02-22 10:24:18 +01:00
|
|
|
# Linux + Open Motif 2.1 [dynamic link]
|
1999-09-09 02:52:53 +02:00
|
|
|
#
|
|
|
|
-CC = gcc
|
|
|
|
-CCOPTION = -O2 -m486
|
|
|
|
-MAKE = make
|
|
|
|
-AR = ar
|
|
|
|
-RANLIB = ranlib
|
|
|
|
-STRIP = strip
|
|
|
|
-DEFS = -DJAPANESE
|
2002-08-27 15:08:52 +02:00
|
|
|
-PLATFORM = '"for X11 [Linux(glibc2) + Open Motif]"'
|
1999-09-09 02:52:53 +02:00
|
|
|
-X11INCLUDE = -I/usr/X11R6/include
|
2003-02-22 10:24:18 +01:00
|
|
|
-STATICLINK =
|
|
|
|
-X11LIB = -L/usr/X11R6/lib -lm -lXm -lXext -lXt -lXp -lX11 -lICE -lSM
|
1999-09-09 02:52:53 +02:00
|
|
|
+#CC = gcc
|
|
|
|
+#CCOPTION = -O2 -m486
|
|
|
|
+#MAKE = make
|
|
|
|
+#AR = ar
|
|
|
|
+#RANLIB = ranlib
|
|
|
|
+#STRIP = strip
|
|
|
|
+#DEFS = -DJAPANESE
|
2002-08-27 15:08:52 +02:00
|
|
|
+#PLATFORM = '"for X11 [Linux(glibc2) + Open Motif]"'
|
1999-09-09 02:52:53 +02:00
|
|
|
+#X11INCLUDE = -I/usr/X11R6/include
|
2003-02-22 10:24:18 +01:00
|
|
|
+#STATICLINK =
|
|
|
|
+#X11LIB = -L/usr/X11R6/lib -lm -lXm -lXext -lXt -lXp -lX11 -lICE -lSM
|
1999-09-09 02:52:53 +02:00
|
|
|
#
|
|
|
|
#
|
|
|
|
###############################################################################
|
2009-02-06 17:23:26 +01:00
|
|
|
@@ -149,17 +149,18 @@
|
1999-11-27 02:09:33 +01:00
|
|
|
#
|
|
|
|
# (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
|
2000-07-03 05:30:13 +02:00
|
|
|
+CC ?= gcc
|
|
|
|
+CFLAGS ?= -O -pipe
|
1999-09-09 02:52:53 +02:00
|
|
|
+CCOPTION = ${CFLAGS}
|
|
|
|
+MAKE = gmake
|
|
|
|
+AR = ar
|
|
|
|
+RANLIB = ranlib
|
|
|
|
+STRIP = strip
|
|
|
|
+DEFS = -DJAPANESE
|
|
|
|
+PLATFORM = '"for X11 [FreeBSD+Motif2.1]"'
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
+X11INCLUDE = -I${LOCALBASE}/include -I/usr/dt/include
|
1999-11-27 02:09:33 +01:00
|
|
|
+STATICLINK =
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
+X11LIB = ${MOTIFLIB} -lm -L${LOCALBASE}/lib -lXext -lXt -lXp -lX11 -lICE -lSM
|
1999-11-27 02:09:33 +01:00
|
|
|
#
|
|
|
|
###############################################################################
|
1999-09-09 02:52:53 +02:00
|
|
|
|