diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-11-30 12:31:58 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-11-30 12:31:58 +0000 |
commit | d886a905a7f7def3db8ceef740176c482fdedce5 (patch) | |
tree | b88b336c68badc5238aa925c3f87ac121dd6460c /math | |
parent | e0d23de03e5b054d4f432aaee61aaa3f8740656d (diff) |
Notes
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> |