diff options
author | lme <lme@FreeBSD.org> | 2011-06-21 19:13:17 +0800 |
---|---|---|
committer | lme <lme@FreeBSD.org> | 2011-06-21 19:13:17 +0800 |
commit | 76c002d4cffc7088bcc85f50353fc992af80b695 (patch) | |
tree | 3e279b32b1cd1aef06b54f679ec60663434f43b6 | |
parent | 1069731f67d0fc0a6e92868c517366ba3f89735e (diff) | |
download | freebsd-ports-gnome-76c002d4cffc7088bcc85f50353fc992af80b695.tar.gz freebsd-ports-gnome-76c002d4cffc7088bcc85f50353fc992af80b695.tar.zst freebsd-ports-gnome-76c002d4cffc7088bcc85f50353fc992af80b695.zip |
Fix build with clang.
-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} + |