From owner-freebsd-perl@FreeBSD.ORG Tue Jan 1 00:14:08 2013 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 80950F95; Tue, 1 Jan 2013 00:14:08 +0000 (UTC) (envelope-from root@tbbs2.cs.nctu.edu.tw) Received: from tbbs2.cs.nctu.edu.tw (tbbs2.cs.nctu.edu.tw [140.113.17.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1B0608FC12; Tue, 1 Jan 2013 00:14:07 +0000 (UTC) Received: by tbbs2.cs.nctu.edu.tw (Postfix, from userid 0) id 6E904CF002; Tue, 1 Jan 2013 08:14:07 +0800 (CST) To: FreeBSD-gnats-submit@freebsd.org Subject: [PATCH] devel/p5-Inline-CPP: update to 0.42 From: Po-Chien Lin X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20130101001407.6E904CF002@tbbs2.cs.nctu.edu.tw> Date: Tue, 1 Jan 2013 08:14:07 +0800 (CST) Cc: perl@FreeBSD.org X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 01 Jan 2013 00:14:08 -0000 >Submitter-Id: current-users >Originator: Po-Chien Lin >Organization: >Confidential: no >Synopsis: [PATCH] devel/p5-Inline-CPP: update to 0.42 >Severity: non-critical >Priority: low >Category: ports >Class: update >Release: FreeBSD 10.0-CURRENT amd64 >Environment: System: FreeBSD tbbs2.cs.nctu.edu.tw 10.0-CURRENT FreeBSD 10.0-CURRENT #8 r244889: Mon Dec 31 17:17:30 CST >Description: - Update to 0.42 Depends on ports/174872: [PATCH] devel/p5-Inline: update to 0.51 - Remove unnecessary BUILD_DEPENDS and TEST_DEPENDS - Set IS_INTERACTIVE, and add patch file to suuport BATCH mode Added file(s): - files/opt-patch-Makefile.PL >How-To-Repeat: >Fix: --- p5-Inline-CPP-0.42.patch begins here --- diff -ruN --exclude=CVS /usr/ports/devel/p5-Inline-CPP/Makefile ./Makefile --- /usr/ports/devel/p5-Inline-CPP/Makefile 2012-11-17 13:56:19.000000000 +0800 +++ ./Makefile 2013-01-01 03:53:34.000000000 +0800 @@ -1,12 +1,8 @@ -# New ports collection makefile for: Inline::CPP -# Date created: 14 Dec 2001 -# Whom: Sergey Skvortsov -# +# Created by: Sergey Skvortsov # $FreeBSD: ports/devel/p5-Inline-CPP/Makefile,v 1.9 2012/11/17 05:56:19 svnexp Exp $ -# PORTNAME= Inline-CPP -PORTVERSION= 0.39 +PORTVERSION= 0.42 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -16,22 +12,22 @@ LICENSE= ART10 -BUILD_DEPENDS= p5-Inline>=0.50:${PORTSDIR}/devel/p5-Inline \ +RUN_DEPENDS= p5-Inline>=0.51:${PORTSDIR}/devel/p5-Inline \ p5-Parse-RecDescent>=0:${PORTSDIR}/devel/p5-Parse-RecDescent -RUN_DEPENDS:= ${BUILD_DEPENDS} -TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \ - p5-Test-Kwalitee>=0:${PORTSDIR}/devel/p5-Test-Kwalitee PERL_CONFIGURE= yes +.if defined(BATCH) || defined(PACKAGE_BUILDING) +EXTRA_PATCHES+= ${FILESDIR}/opt-patch-Makefile.PL +.else +IS_INTERACTIVE= yes +.endif + MAN3= Inline::CPP.3 \ Inline::CPP::Config.3 \ Inline::CPP::grammar.3 -.include - -.if ${PERL_LEVEL} < 501400 -TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple -.endif +post-patch: + @${REINPLACE_CMD} -e 's/g++/${CXX}/' ${WRKSRC}/Makefile.PL -.include +.include diff -ruN --exclude=CVS /usr/ports/devel/p5-Inline-CPP/distinfo ./distinfo --- /usr/ports/devel/p5-Inline-CPP/distinfo 2012-05-08 11:52:00.000000000 +0800 +++ ./distinfo 2013-01-01 02:26:54.000000000 +0800 @@ -1,2 +1,2 @@ -SHA256 (Inline-CPP-0.39.tar.gz) = 601c765aac9a0e33e478dec7da983949187c9f570598297f535c67aff4d64a69 -SIZE (Inline-CPP-0.39.tar.gz) = 44089 +SHA256 (Inline-CPP-0.42.tar.gz) = 824dd95e92dcb4bc719f5859245f35ef2626ff9b0a7a28b46eef36ddfb341890 +SIZE (Inline-CPP-0.42.tar.gz) = 50592 diff -ruN --exclude=CVS /usr/ports/devel/p5-Inline-CPP/files/opt-patch-Makefile.PL ./files/opt-patch-Makefile.PL --- /usr/ports/devel/p5-Inline-CPP/files/opt-patch-Makefile.PL 1970-01-01 08:00:00.000000000 +0800 +++ ./files/opt-patch-Makefile.PL 2013-01-01 03:31:03.000000000 +0800 @@ -0,0 +1,15 @@ +--- ./Makefile.PL.orig 2013-01-01 03:27:22.000000000 +0800 ++++ ./Makefile.PL 2013-01-01 03:30:52.000000000 +0800 +@@ -121,10 +121,9 @@ + print "This will configure and build Inline::C++.\n"; + + my $cpp_compiler +- = prompt( "What default C++ compiler would you like to use?", $cc_guess ); ++ = $cc_guess; + +-my $libs = prompt( "What default libraries would you like to include?", +- $libs_guess ); ++my $libs = $libs_guess; + + #============================================================================ + # Test whether the compiler prefers or . --- p5-Inline-CPP-0.42.patch ends here ---