aboutsummaryrefslogtreecommitdiff
path: root/misc/snowflake
diff options
context:
space:
mode:
Diffstat (limited to 'misc/snowflake')
-rw-r--r--misc/snowflake/Makefile1
-rw-r--r--misc/snowflake/files/patch-aa27
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