On FreeBSD 8.0, math/p5-Math-BigInt-GMP builds with no "errors" but skips building with -lgmp. This is not the case on FreeBSD 7.2 (it correctly builds with gmp). Fix: Patch to the port Makefile: Index: Makefile =================================================================== --- Makefile (revision 44) +++ Makefile (working copy) @@ -24,4 +24,9 @@ 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> Patch attached with submission follows: How-To-Repeat: cd /usr/ports/math/p5-Math-BigInt-GMP make install ldd /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/Math/BigInt/GMP/GMP.so
Responsible Changed From-To: freebsd-ports-bugs->wen I'll take it.
sylvio 2010-07-26 11:33:35 UTC FreeBSD ports repository Modified files: math/p5-Math-BigInt-GMP Makefile Log: - 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) Revision Changes Path 1.10 +5 -0 ports/math/p5-Math-BigInt-GMP/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!
A commit references this bug: Author: adamw Date: Mon Jul 14 15:42:56 UTC 2014 New revision: 361792 URL: http://svnweb.freebsd.org/changeset/ports/361792 Log: Fix installation with DOCS disabled. PR: 144406 Submitted by: Chris Nehren Changes: head/deskutils/mirall/Makefile