diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-11-30 20:31:58 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-11-30 20:31:58 +0800 |
commit | 02e0dcdb83025a644255d46d680b007ab6ec3935 (patch) | |
tree | 8a0a33b13cfd8bf41745035fa9e3b33dd8a7bafb /math | |
parent | 5e39b4c9e8bfdd6c04228491ec00db0b87e938b0 (diff) | |
download | freebsd-ports-gnome-02e0dcdb83025a644255d46d680b007ab6ec3935.tar.gz freebsd-ports-gnome-02e0dcdb83025a644255d46d680b007ab6ec3935.tar.zst freebsd-ports-gnome-02e0dcdb83025a644255d46d680b007ab6ec3935.zip |
- Change INC/LIBS modifier
Feature safe: yes
Diffstat (limited to 'math')
-rw-r--r-- | math/p5-Math-GMP/Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/math/p5-Math-GMP/Makefile b/math/p5-Math-GMP/Makefile index 594ad213a1b3..10e986e3427c 100644 --- a/math/p5-Math-GMP/Makefile +++ b/math/p5-Math-GMP/Makefile @@ -17,13 +17,9 @@ COMMENT= Perl module that provides an interface to the GMP library LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp +CONFIGURE_ARGS= INC=-I${LOCALBASE}/include LIBS="-L${LOCALBASE}/lib -lgmp" PERL_CONFIGURE= yes MAN3= Math::GMP.3 -post-patch: - @${PERL} -pi -e "s!-lgmp!-L${LOCALBASE}/lib $$&!;" \ - -e "if (/'LIBS'/) { print qq!'INC' => '-I${LOCALBASE}/include',!; }" \ - ${WRKSRC}/Makefile.PL - .include <bsd.port.mk> |