mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
89b7d2a446
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly PR: 19623 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
15 lines
461 B
Plaintext
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/
|