ports/math/grpn/files/patch-aa
Martin Wilke 3e4ed01146 - 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 17:56:05 +00:00

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)