From owner-freebsd-perl@FreeBSD.ORG Fri May 20 22:21:45 2011 Return-Path: Delivered-To: perl@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F17CC106566B; Fri, 20 May 2011 22:21:45 +0000 (UTC) (envelope-from root@cakebox.homeunix.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.freebsd.org (Postfix) with ESMTP id 865DD8FC0C; Fri, 20 May 2011 22:21:45 +0000 (UTC) Received: from cakebox.homeunix.net (krlh-5f72695a.pool.mediaWays.net [95.114.105.90]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0M9tYC-1QYWFM1NaS-00B5VC; Sat, 21 May 2011 00:09:04 +0200 Received: from cakebox.homeunix.net (localhost [127.0.0.1]) by cakebox.homeunix.net (Postfix) with ESMTP id F1F2E6783B; Sat, 21 May 2011 00:08:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on cakebox.tis X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,NO_RELAYS autolearn=failed version=3.3.1 Received: by cakebox.homeunix.net (Postfix, from userid 0) id 00E0E6782D; Sat, 21 May 2011 00:08:56 +0200 (CEST) To: FreeBSD-gnats-submit@freebsd.org From: freebsd@nagilum.org X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20110520220857.00E0E6782D@cakebox.homeunix.net> Date: Sat, 21 May 2011 00:08:56 +0200 (CEST) X-Provags-ID: V02:K0:ldGFkIGIPZVmhPnC2L7/lMmXDWV3MC403H5mJm7p0HB oq3ViOzhdXlGe3szqoKaWDqfnZUnYlrUuJaMuOw8LE0FLFaPOx Yboo5ed8gsX1iP3Hwky/otQoNo5EjMTymrjEKWie3/O/dW/klT yFm5XAd8aloxFXlCvN+MBSLOMO75I9pXDmTOpVJ56R1zY8ubcN xIwScUDBJZrogGwMoFSwjsGh7gFBi23EBRTwEsm1Pg= Cc: perl@FreeBSD.org, ahze@ahze.net Subject: Fix p5-ExtUtils-MakeMaker for Perl5.14 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2011 22:21:46 -0000 >Submitter-Id: current-users >Originator: Charlie & >Organization: >Confidential: no >Synopsis: Fix p5-ExtUtils-MakeMaker for Perl5.14 >Severity: non-critical >Priority: low >Category: ports >Class: update >Release: FreeBSD 8.2-STABLE i386 >Environment: System: FreeBSD cakebox.tis 8.2-STABLE FreeBSD 8.2-STABLE #0: Mon May 2 10:18:42 CEST 2011 root@cakebox.tis:/usr/obj/export/src/sys/net5501 i386 >Description: After upgrading to Perl5.14 /usr/local/lib/perl5/5.14.0/mach/CORE/cc_runtime.h does no longer exist, so MakeMaker should not add it to the include file list >How-To-Repeat: Upgrade to Perl5.14, upgrade p5-ExtUtils-MakeMaker and then attempt to upgrade devel/p5-version (for example) Other examples include: mail/razor-agents, databases/rrdtool, databases/p5-BerkeleyDB, security/p5-Crypt-OpenSSL-Bignum, archivers/p5-Compress-Raw-Zlib, .. >Fix: apply attached patch --- p5-ExtUtils-MakeMaker.patch begins here --- diff -Naur p5-ExtUtils-MakeMaker.orig/Makefile p5-ExtUtils-MakeMaker/Makefile --- p5-ExtUtils-MakeMaker.orig/Makefile 2010-01-06 15:16:33.000000000 +0100 +++ p5-ExtUtils-MakeMaker/Makefile 2011-05-20 23:50:05.000000000 +0200 @@ -32,5 +32,8 @@ post-patch: @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL + if [ ! -e ${PREFIX}/lib/perl5/${PERL_VERSION}/mach/CORE/cc_runtime.h ];\ + then ${PREFIX}/bin/perl -pi'' -e'if(/cc_runtime.h/){$$_="";}' ${WRKSRC}/lib/ExtUtils/MM_Unix.pm ;\ + fi .include --- p5-ExtUtils-MakeMaker.patch ends here ---