aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-03-05 16:59:47 +0800
committerarved <arved@FreeBSD.org>2004-03-05 16:59:47 +0800
commit939942f010e632684f34740be4040d76030ac5eb (patch)
tree18166398a9b99c1203677aae07684730c7b7a3bb
parenta111bd2bc78f53eef0b333c119c05b304b755af4 (diff)
downloadfreebsd-ports-gnome-939942f010e632684f34740be4040d76030ac5eb.tar.gz
freebsd-ports-gnome-939942f010e632684f34740be4040d76030ac5eb.tar.zst
freebsd-ports-gnome-939942f010e632684f34740be4040d76030ac5eb.zip
Fix build on AMD64
-rw-r--r--x11-toolkits/flvw/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-toolkits/flvw/Makefile b/x11-toolkits/flvw/Makefile
index 6a5df321c9f9..64697c30b9e5 100644
--- a/x11-toolkits/flvw/Makefile
+++ b/x11-toolkits/flvw/Makefile
@@ -33,6 +33,10 @@ INC_SUBDIR= include/FL
INSTALLS_SHLIB= yes
+.if ${MACHINE_ARCH:L} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
post-patch:
${REINPLACE_CMD} 's/^#define fl_inactive inactive//' \
${WRKSRC}/FL/Flv_List.H