- Fix problem build with -lgmp
PR: ports/144406 Submitted by: Kimo <kimor79@yahoo.com> Approved by: wen@ (He is on vacation, I've his permission for commit your PR)
This commit is contained in:
parent
4002dc80c7
commit
dc82b8d1fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258274
@ -24,4 +24,9 @@ CONFIGURE_ARGS+= INC="-I${LOCALBASE}/include"
|
||||
|
||||
MAN3= Math::BigInt::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