aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2004-12-24 14:34:45 +0800
committerphantom <phantom@FreeBSD.org>2004-12-24 14:34:45 +0800
commit3044c9c87a8114a06b6d19e39ccf09bc013053fd (patch)
tree20933b318465beff01e59c7b243809c9c0d04794 /x11-toolkits
parentf7c2077426dd0dbab300ed79c76ee6bffab5c959 (diff)
downloadfreebsd-ports-gnome-3044c9c87a8114a06b6d19e39ccf09bc013053fd.tar.gz
freebsd-ports-gnome-3044c9c87a8114a06b6d19e39ccf09bc013053fd.tar.zst
freebsd-ports-gnome-3044c9c87a8114a06b6d19e39ccf09bc013053fd.zip
While building on amd64 add -fPIC to CFLAGS
Diffstat (limited to 'x11-toolkits')
-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 "