mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 19:20:36 -04:00
- 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)
32 lines
780 B
Text
32 lines
780 B
Text
--- Makefile.orig Mon May 31 21:46:31 1999
|
|
+++ Makefile Mon Oct 25 19:52:03 1999
|
|
@@ -3,7 +3,7 @@
|
|
# Please read the next few lines and enter the correct values.
|
|
|
|
# What compiler should be used
|
|
-CC = gcc
|
|
+CC?= gcc
|
|
|
|
# Where to find the gtk-config script
|
|
GTK_DIR =
|
|
@@ -17,9 +17,9 @@
|
|
# add -DUSE_GNOME if you want to make grpn GNOME compliant.
|
|
|
|
|
|
-CFLAGS = -g -O2 -I/usr/X11/include `$(GTK_DIR)gtk-config --cflags` -DGTK_VER_1_1
|
|
+CFLAGS+= -I${LOCALBASE}/include -I${PREFIX}/include `${GTK_CONFIG} --cflags` -DGTK_VER_1_1
|
|
|
|
-DFLAGS = -L/usr/X11/lib
|
|
+DFLAGS = -L${LOCALBASE}/lib -L${PREFIX}/lib
|
|
|
|
# end of user configurable section
|
|
|
|
@@ -34,7 +34,7 @@
|
|
|
|
|
|
|
|
-LIBS = `$(GTK_DIR)gtk-config --libs` -lX11 -lm
|
|
+LIBS = `${GTK_CONFIG} --libs` -lX11 -lm
|
|
|
|
|
|
grpn: $(OBJS)
|