diff options
Diffstat (limited to 'math/trlan/Makefile')
-rw-r--r-- | math/trlan/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/math/trlan/Makefile b/math/trlan/Makefile index 50f208c37445..b77bbfee8517 100644 --- a/math/trlan/Makefile +++ b/math/trlan/Makefile @@ -21,17 +21,13 @@ PLIST_FILES= lib/libtrlan.a lib/libtrlan.so lib/libtrlan.so.1 OPTIONS_DEFINE= DOCS EXAMPLES +PICFLAG= -fpic + .include <bsd.port.pre.mk> PORTDOCS= trlan-ug.pdf PORTEXAMPLES= Makefile README dense.f90 simple.f90 simple77.f simplec.c -.if ${ARCH} == sparc64 -PICFLAG= -fPIC -.else -PICFLAG= -fpic -.endif - post-patch: @${REINPLACE_CMD} -E \ -e '/^(FC|FFLAGS)=/s/^/#/' \ |