diff options
Diffstat (limited to 'biology/pymol/Makefile')
-rw-r--r-- | biology/pymol/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/biology/pymol/Makefile b/biology/pymol/Makefile index 01ca5e4f3311..5606d9289773 100644 --- a/biology/pymol/Makefile +++ b/biology/pymol/Makefile @@ -28,7 +28,11 @@ USE_PYTHON= yes .include <bsd.port.pre.mk> -PICFLAG!= ${MAKE} -f bsd.lib.mk -V PICFLAG +.if ${MACHINE_ARCH} == "sparc64" +PICFLAG?= -fPIC +.else +PICFLAG?= -fpic +.endif pre-patch: @${INSTALL_DATA} ${WRKSRC}/setup/Rules.linux ${WRKSRC}/Rules.make |