aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/open-motif
diff options
context:
space:
mode:
authorAlexey Zelkin <phantom@FreeBSD.org>2004-12-24 06:34:45 +0000
committerAlexey Zelkin <phantom@FreeBSD.org>2004-12-24 06:34:45 +0000
commitd057a5dfa8458f7500d2f499908c3e29b1d83b7c (patch)
tree670d248e006c26824a8ff8d94865ef8038c05495 /x11-toolkits/open-motif
parent28eeaf6db79617314aaaedea8604f266b25dde21 (diff)
downloadports-d057a5dfa8458f7500d2f499908c3e29b1d83b7c.tar.gz
ports-d057a5dfa8458f7500d2f499908c3e29b1d83b7c.zip
While building on amd64 add -fPIC to CFLAGS
Notes
Notes: svn path=/head/; revision=125036
Diffstat (limited to 'x11-toolkits/open-motif')
-rw-r--r--x11-toolkits/open-motif/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-toolkits/open-motif/Makefile b/x11-toolkits/open-motif/Makefile
index d228d16f6bf4..64bacf47715c 100644
--- a/x11-toolkits/open-motif/Makefile
+++ b/x11-toolkits/open-motif/Makefile
@@ -37,6 +37,10 @@ DEMOS_SRC= ${WRKSRC}/demos/programs
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+CONFIGURE_ARGS+= --with-pic
+.endif
+
# User config option: Build and install Motif demos
.if defined(WITHOUT_OPENMOTIF_DEMOS)
PLIST_SUB+= MOTIF_DEMOS="@comment "