freebsd-ports/audio/gmixer/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

15 lines
461 B
Plaintext

--- Makefile.orig Sat Apr 3 13:33:52 1999
+++ Makefile Sat Apr 3 13:33:54 1999
@@ -1,9 +1,9 @@
-CC = gcc
+CC ?= gcc
#CC = egcs
#FLAGS = -g
gmixer: gmixer.c
- $(CC) $(FLAGS) `gtk-config --cflags` `gtk-config --libs` gmixer.c -o gmixer
+ $(CC) $(CFLAGS) `$(GTK_CONFIG) --cflags` `$(GTK_CONFIG) --libs` gmixer.c -o gmixer
install: gmixer
install -s -m 755 -o 0 -g 0 gmixer /usr/X11R6/bin/
install -m 644 -o 0 -g 0 icons/gmixer.xpm /usr/share/pixmaps/