mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-25 21:07:40 +00:00
89b7d2a446
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly PR: 19623 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
16 lines
476 B
Plaintext
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
|