From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 2 00:20:05 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 268BC1065674 for ; Tue, 2 Mar 2010 00:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DDE4A8FC19 for ; Tue, 2 Mar 2010 00:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o220K4Pe097380 for ; Tue, 2 Mar 2010 00:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o220K4LM097379; Tue, 2 Mar 2010 00:20:04 GMT (envelope-from gnats) Resent-Date: Tue, 2 Mar 2010 00:20:04 GMT Resent-Message-Id: <201003020020.o220K4LM097379@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kimo Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABDC01065673 for ; Tue, 2 Mar 2010 00:18:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 9ADFB8FC1B for ; Tue, 2 Mar 2010 00:18:59 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o220IxTo035552 for ; Tue, 2 Mar 2010 00:18:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o220IxeD035551; Tue, 2 Mar 2010 00:18:59 GMT (envelope-from nobody) Message-Id: <201003020018.o220IxeD035551@www.freebsd.org> Date: Tue, 2 Mar 2010 00:18:59 GMT From: Kimo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/144406: p5-Math-BigInt-GMP doesn't build with -lgmp X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2010 00:20:05 -0000 >Number: 144406 >Category: ports >Synopsis: p5-Math-BigInt-GMP doesn't build with -lgmp >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Mar 02 00:20:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Kimo >Release: 8.0 >Organization: >Environment: >Description: 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). >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 >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 Patch attached with submission follows: 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 >Release-Note: >Audit-Trail: >Unformatted: