1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/math/grpn/files/patch-aa
Steve Price e5df249586 Initial import of grpn version 1.1.0.
A GTK+-based reverse polish notation (RPN) calculator.

PR:		14526
Submitted by:	Chris D. Faulhaber <jedgar@fxp.org>
1999-11-26 20:50:14 +00:00

33 lines
776 B
Plaintext

--- 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${X11BASE}/include -I${PREFIX}/include `${GTK_CONFIG} --cflags` -DGTK_VER_1_1
-DFLAGS = -L/usr/X11/lib
+DFLAGS = -L${X11BASE}/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)