From 15db21f9c4f14255208c517f5f294262391692df Mon Sep 17 00:00:00 2001 From: vs Date: Fri, 22 Apr 2005 12:51:16 +0000 Subject: Use MAKE_ARGS --- misc/snowflake/Makefile | 1 + misc/snowflake/files/patch-aa | 27 --------------------------- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 misc/snowflake/files/patch-aa (limited to 'misc') 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 -- cgit