- Change INC/LIBS modifier
Feature safe: yes
This commit is contained in:
parent
e0d23de03e
commit
d886a905a7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286669
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user