summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 "