From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 21 13:10:07 2011 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 B9215106566C for ; Thu, 21 Jul 2011 13:10:07 +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 783718FC12 for ; Thu, 21 Jul 2011 13:10:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6LDA7gA051692 for ; Thu, 21 Jul 2011 13:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6LDA7gE051691; Thu, 21 Jul 2011 13:10:07 GMT (envelope-from gnats) Resent-Date: Thu, 21 Jul 2011 13:10:07 GMT Resent-Message-Id: <201107211310.p6LDA7gE051691@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, Peter Vereshagin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A3F5106564A for ; Thu, 21 Jul 2011 13:09:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 8B12E8FC0A for ; Thu, 21 Jul 2011 13:09:22 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p6LD9MQj096522 for ; Thu, 21 Jul 2011 13:09:22 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p6LD9MKw096521; Thu, 21 Jul 2011 13:09:22 GMT (envelope-from nobody) Message-Id: <201107211309.p6LD9MKw096521@red.freebsd.org> Date: Thu, 21 Jul 2011 13:09:22 GMT From: Peter Vereshagin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/159085: security/p5-Crypt-DH-GMP lacks gmp.h 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: Thu, 21 Jul 2011 13:10:07 -0000 >Number: 159085 >Category: ports >Synopsis: security/p5-Crypt-DH-GMP lacks gmp.h >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 21 13:10:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Peter Vereshagin >Release: releng_7 as of May, 2011 >Organization: Private >Environment: FreeBSD teh.ost 7.4-STABLE FreeBSD 7.4-STABLE #10: Mon May 2 16:12:55 MSD 2011 peter@vereshagin.org:/CONF i386 >Description: Reproduced on several hosts. Module building process loses the headers path. No much sure it is a port problem and not a module's. Versions: perl-5.14.1 gmp-5.0.1 p5-Crypt-DH-GMP-0.00009 >How-To-Repeat: cd /usr/ports/security/p5-Crypt-DH-GMP make I get: [..] cc -c "-I." "-I." -O2 -fno-strict-aliasing -pipe -g -DVERSION=\"0.00009\" -DXS_VERSION=\"0.00009\" -o xs/dh_gmp.o -DP IC -fPIC "-I/usr/local/lib/perl5/5.14.1/mach/CORE" -DUSE_PPPORT xs/dh_gmp.c In file included from xs/dh_gmp.c:4: xs/dh_gmp.h:4:17: error: gmp.h: No such file or directory Solution: patch attached, should better handle the build $PREFIX >Fix: patch on module's Makefile.PL supplied Patch attached with submission follows: --- ../Crypt-DH-GMP-0.00009.orig/Makefile.PL 2011-06-30 17:59:18.000000000 +0400 +++ Makefile.PL 2011-06-30 18:00:13.000000000 +0400 @@ -7,7 +7,7 @@ my @CCFLAGS = split(//, $ENV{CCFLAGS} || ''); my @LDFLAGS = split(//, $ENV{LDFLAGS} || ''); -my @INCLUDES; +my @INCLUDES = '/usr/local/include'; my @LIBPATHS; if ($^O eq 'darwin') { @@ -60,4 +60,4 @@ test_requires 'Test::More'; test_requires 'Test::Requires'; -WriteAll; \ No newline at end of file +WriteAll; >Release-Note: >Audit-Trail: >Unformatted: