aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-22 20:51:16 +0800
committervs <vs@FreeBSD.org>2005-04-22 20:51:16 +0800
commit15db21f9c4f14255208c517f5f294262391692df (patch)
tree9e397845ab13e62a935becc06f07a7b5f53da1ea /misc
parenta1ed4fcb0214cb352833af553e2225a7d4933e1c (diff)
downloadfreebsd-ports-gnome-15db21f9c4f14255208c517f5f294262391692df.tar.gz
freebsd-ports-gnome-15db21f9c4f14255208c517f5f294262391692df.tar.zst
freebsd-ports-gnome-15db21f9c4f14255208c517f5f294262391692df.zip
Use MAKE_ARGS
Diffstat (limited to 'misc')
-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