From owner-svn-ports-head@FreeBSD.ORG Tue Jan 15 12:16:14 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4F7F9266; Tue, 15 Jan 2013 12:16:14 +0000 (UTC) (envelope-from tobez@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 3744423F; Tue, 15 Jan 2013 12:16:14 +0000 (UTC) Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0FCGEZk014992; Tue, 15 Jan 2013 12:16:14 GMT (envelope-from tobez@svn.freebsd.org) Received: (from tobez@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0FCGDCh014989; Tue, 15 Jan 2013 12:16:13 GMT (envelope-from tobez@svn.freebsd.org) Message-Id: <201301151216.r0FCGDCh014989@svn.freebsd.org> From: Anton Berezin Date: Tue, 15 Jan 2013 12:16:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r310435 - in head/devel/p5-Inline-CPP: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 12:16:14 -0000 Author: tobez Date: Tue Jan 15 12:16:13 2013 New Revision: 310435 URL: http://svnweb.freebsd.org/changeset/ports/310435 Log: - Update to 0.42 - Remove unnecessary BUILD_DEPENDS and TEST_DEPENDS - Set IS_INTERACTIVE, and add patch file to support BATCH mode Changes: http://search.cpan.org/dist/Inline-CPP/Changes PR: 174874 Submitted by: Po-Chien Lin Added: head/devel/p5-Inline-CPP/files/ head/devel/p5-Inline-CPP/files/opt-patch-Makefile.PL (contents, props changed) Modified: head/devel/p5-Inline-CPP/Makefile head/devel/p5-Inline-CPP/distinfo Modified: head/devel/p5-Inline-CPP/Makefile ============================================================================== --- head/devel/p5-Inline-CPP/Makefile Tue Jan 15 11:51:57 2013 (r310434) +++ head/devel/p5-Inline-CPP/Makefile Tue Jan 15 12:16:13 2013 (r310435) @@ -1,12 +1,8 @@ -# New ports collection makefile for: Inline::CPP -# Date created: 14 Dec 2001 -# Whom: Sergey Skvortsov -# +# Created by: Sergey Skvortsov # $FreeBSD$ -# PORTNAME= Inline-CPP -PORTVERSION= 0.39 +PORTVERSION= 0.42 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -16,22 +12,22 @@ COMMENT= Write Perl subroutines and clas 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 Modified: head/devel/p5-Inline-CPP/distinfo ============================================================================== --- head/devel/p5-Inline-CPP/distinfo Tue Jan 15 11:51:57 2013 (r310434) +++ head/devel/p5-Inline-CPP/distinfo Tue Jan 15 12:16:13 2013 (r310435) @@ -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 Added: head/devel/p5-Inline-CPP/files/opt-patch-Makefile.PL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Inline-CPP/files/opt-patch-Makefile.PL Tue Jan 15 12:16:13 2013 (r310435) @@ -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 .