diff options
author | Lars Engels <lme@FreeBSD.org> | 2011-06-21 11:13:17 +0000 |
---|---|---|
committer | Lars Engels <lme@FreeBSD.org> | 2011-06-21 11:13:17 +0000 |
commit | 4e92d29b149c79c4dbb3ddcf454dde2215b2bac3 (patch) | |
tree | b009f7b28d71bf8613ae10a5df90bc6525f2eacb /www/swiggle | |
parent | 3497ae27d9437ac356e7588cddfdf66327f43ce8 (diff) |
Fix build with clang.
Notes
Notes:
svn path=/head/; revision=275982
Diffstat (limited to 'www/swiggle')
-rw-r--r-- | www/swiggle/files/patch-Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/swiggle/files/patch-Makefile b/www/swiggle/files/patch-Makefile new file mode 100644 index 000000000000..beb0f256a8c7 --- /dev/null +++ b/www/swiggle/files/patch-Makefile @@ -0,0 +1,20 @@ +--- Makefile.orig 2011-06-21 13:05:27.000000000 +0200 ++++ Makefile 2011-06-21 13:06:31.000000000 +0200 +@@ -1,7 +1,7 @@ + # Makefile for swiggle + # + # $Id: Makefile,v 1.8 2003/10/22 21:01:18 le Exp $ +-CC = gcc ++CC ?= gcc + PROGRAM = swiggle + OBJS = swiggle.o resize.o html.o + HEADER = swiggle.h +@@ -11,7 +11,7 @@ LDFLAGS += -L/usr/local/lib -ljpeg -lexi + all: ${PROGRAM} + + ${PROGRAM}: ${OBJS} +- gcc ${CFLAGS} ${LDFLAGS} -o ${PROGRAM} ${OBJS} ++ ${CC} ${CFLAGS} ${LDFLAGS} -o ${PROGRAM} ${OBJS} + + ${OBJS}: ${HEADER} + |