diff options
author | linimon <linimon@FreeBSD.org> | 2017-11-29 08:59:43 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2017-11-29 08:59:43 +0800 |
commit | 319e02a54f90418b225aacdd4ec35776c864b93d (patch) | |
tree | ebbf996872904f071a65ea6b5ea52446d3dd5b18 /textproc | |
parent | e4a1a22b727f4097c2afea46759ff822fd2ff0a1 (diff) | |
download | freebsd-ports-gnome-319e02a54f90418b225aacdd4ec35776c864b93d.tar.gz freebsd-ports-gnome-319e02a54f90418b225aacdd4ec35776c864b93d.tar.zst freebsd-ports-gnome-319e02a54f90418b225aacdd4ec35776c864b93d.zip |
Modernize usage. (Noted as part of a larger cleanup).
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-Text-BibTeX/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/textproc/p5-Text-BibTeX/Makefile b/textproc/p5-Text-BibTeX/Makefile index 729390e16343..0a05c423d66c 100644 --- a/textproc/p5-Text-BibTeX/Makefile +++ b/textproc/p5-Text-BibTeX/Makefile @@ -21,6 +21,8 @@ USES= perl5 USE_PERL5= modbuild USE_LDCONFIG= yes +CFLAGS_amd64= -fPIC + STRIP_FILES= bin/dumpnames bin/biblex bin/bibparse \ ${SITE_ARCH_REL}/auto/Text/BibTeX/BibTeX.so \ lib/libbtparse.so @@ -32,10 +34,6 @@ BUILD_DEPENDS+= p5-Scalar-List-Utils>=0.42:lang/p5-Scalar-List-Utils RUN_DEPENDS+= p5-Scalar-List-Utils>=0.42:lang/p5-Scalar-List-Utils .endif -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" -CFLAGS+= -fPIC -.endif - post-install: ${STRIP_CMD} ${STRIP_FILES:S|^|${STAGEDIR}${PREFIX}/|} |