1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/x11-wm/spager/files/patch-aa
Steve Price 89b7d2a446 - Use GTK_CONFIG/GLIB_CONFIG instead of hardcoded gtk12-config/glib12-config
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly

PR:		19623
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-07-07 19:59:26 +00:00

16 lines
476 B
Plaintext

--- Makefile.orig Mon May 22 04:36:02 2000
+++ Makefile Sat Jul 1 17:39:37 2000
@@ -18,10 +18,10 @@
# along with spager; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-CC = gcc
+CC ?= gcc
spager: spager.c
- $(CC) -O6 -Wall `gtk-config --cflags` spager.c -o spager `gtk-config --libs`
+ $(CC) $(CFLAGS) `$(GTK_CONFIG) --cflags` spager.c -o spager `$(GTK_CONFIG) --libs`
clean:
rm -f *.o spager