aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libupskirt
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2011-06-21 01:26:54 +0800
committerbapt <bapt@FreeBSD.org>2011-06-21 01:26:54 +0800
commitbad0ebccf559940ab4035db8127ae7b0adba0d8a (patch)
tree0056509261b7b04f8159a1c1f11ca4518bf8911d /textproc/libupskirt
parentffacad5a1dacbc3f0940c550163eaf69447f7d7d (diff)
downloadfreebsd-ports-gnome-bad0ebccf559940ab4035db8127ae7b0adba0d8a.tar.gz
freebsd-ports-gnome-bad0ebccf559940ab4035db8127ae7b0adba0d8a.tar.zst
freebsd-ports-gnome-bad0ebccf559940ab4035db8127ae7b0adba0d8a.zip
Fix build with clang
Diffstat (limited to 'textproc/libupskirt')
-rw-r--r--textproc/libupskirt/files/patch-BSDmakefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/textproc/libupskirt/files/patch-BSDmakefile b/textproc/libupskirt/files/patch-BSDmakefile
new file mode 100644
index 000000000000..61920e801535
--- /dev/null
+++ b/textproc/libupskirt/files/patch-BSDmakefile
@@ -0,0 +1,16 @@
+--- ./BSDmakefile.orig 2011-05-22 15:52:03.000000000 +0200
++++ ./BSDmakefile 2011-06-20 19:22:57.278509671 +0200
+@@ -16,9 +16,10 @@
+
+ DEPDIR=depends
+ ALLDEPS=$(DEPDIR)/all
+-CFLAGS=-c -g -O3 -Wall -Werror -fPIC
+-LDFLAGS=-g -O3 -Wall -Werror
+-CC=gcc
++CFLAGS?=-c -g -O3 -Wall -Werror
++CFLAGS+= -c -fPIC
++LDFLAGS?=-g -O3 -Wall -Werror
++CC?=gcc
+
+ all: libupskirt.so lace kilt
+