summaryrefslogtreecommitdiff
path: root/biology/pymol/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--biology/pymol/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/biology/pymol/Makefile b/biology/pymol/Makefile
index 7f3895d78b36..d53214185a48 100644
--- a/biology/pymol/Makefile
+++ b/biology/pymol/Makefile
@@ -28,7 +28,13 @@ USE_PYTHON= yes
.include <bsd.port.pre.mk>
+.if !defined(PICFLAG)
+.if ${MACHINE_ARCH} == "sparc64"
PICFLAG=-fPIC
+.else
+PICFLAG=-fpic
+.endif
+.endif
pre-patch:
@${INSTALL_DATA} ${WRKSRC}/setup/Rules.linux ${WRKSRC}/Rules.make