diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-04-22 12:51:16 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-04-22 12:51:16 +0000 |
commit | 9bdb6b7baf7a740fa6445c059be70c8f6d251441 (patch) | |
tree | 607379f5526fc770dac41a6579a594c4c2c28272 /misc | |
parent | ce0aa0a5337f9fd2b949de0849d20d6174d1264d (diff) | |
download | ports-9bdb6b7baf7a740fa6445c059be70c8f6d251441.tar.gz ports-9bdb6b7baf7a740fa6445c059be70c8f6d251441.zip |
Use MAKE_ARGS
Notes
Notes:
svn path=/head/; revision=133933
Diffstat (limited to 'misc')
-rw-r--r-- | misc/snowflake/Makefile | 1 | ||||
-rw-r--r-- | misc/snowflake/files/patch-aa | 27 |
2 files changed, 1 insertions, 27 deletions
diff --git a/misc/snowflake/Makefile b/misc/snowflake/Makefile index 8525718d419a..437eb944e8b5 100644 --- a/misc/snowflake/Makefile +++ b/misc/snowflake/Makefile @@ -20,6 +20,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig PLIST_FILES= bin/snowflake USE_X_PREFIX= yes USE_GNOME= gtk12 +MAKE_ARGS= CC="${CC} ${CFLAGS}" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/snowflake ${PREFIX}/bin diff --git a/misc/snowflake/files/patch-aa b/misc/snowflake/files/patch-aa deleted file mode 100644 index 013d4d19cb13..000000000000 --- a/misc/snowflake/files/patch-aa +++ /dev/null @@ -1,27 +0,0 @@ ---- Makefile.orig Mon Dec 21 08:18:55 1998 -+++ Makefile Sat Jul 1 18:36:45 2000 -@@ -1,6 +1,6 @@ - # Makefile - --CC = gcc -+CC ?= gcc - - SRCS = sf.c sf_control.c sf_generate.c sf_view.c getopt.c - OBJS = $(SRCS:.c=.o) -@@ -11,13 +11,13 @@ - all: snowflake - - .c.o: -- $(CC) `gtk-config --cflags` -c $*.c -o $*.o -+ $(CC) $(CFLAGS) `$(GTK_CONFIG) --cflags` -c $*.c -o $*.o - - snowflake: $(OBJS) -- $(CC) `gtk-config --libs` $(OBJS) -o $@ -+ $(CC) $(CFLAGS) `$(GTK_CONFIG) --libs` $(OBJS) -o $@ - - getopt: getopt.c -- $(CC) -DTEST_LONG_OPTIONS $< -o $@ -+ $(CC) $(CFLAGS) -DTEST_LONG_OPTIONS $< -o $@ - - clean: - rm -f *~ *.o snowflake |