From owner-svn-ports-head@FreeBSD.ORG Wed Apr 22 15:46:02 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C832B53; Wed, 22 Apr 2015 15:46:02 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A35C10E4; Wed, 22 Apr 2015 15:46:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3MFk2cB092148; Wed, 22 Apr 2015 15:46:02 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3MFk2Dj092147; Wed, 22 Apr 2015 15:46:02 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201504221546.t3MFk2Dj092147@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Wed, 22 Apr 2015 15:46:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384495 - head/editors/p5-Padre 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.20 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: Wed, 22 Apr 2015 15:46:02 -0000 Author: mat Date: Wed Apr 22 15:46:01 2015 New Revision: 384495 URL: https://svnweb.freebsd.org/changeset/ports/384495 Log: Fix build with Perl 5.21.0+ (removal of CGI, and Module::Build) While there, cleanup MASTER_SITES, and remove an empty target. With hat: perl@ Sponsored by: Absolight Modified: head/editors/p5-Padre/Makefile Modified: head/editors/p5-Padre/Makefile ============================================================================== --- head/editors/p5-Padre/Makefile Wed Apr 22 14:02:46 2015 (r384494) +++ head/editors/p5-Padre/Makefile Wed Apr 22 15:46:01 2015 (r384495) @@ -5,8 +5,7 @@ PORTNAME= Padre PORTVERSION= 1.00 PORTREVISION= 4 CATEGORIES= editors perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} ${MASTER_SITE_PERL_CPAN:S/$/:wxsc/} -MASTER_SITE_SUBDIR= ${PORTNAME}/:DEFAULT Wx/:wxsc +MASTER_SITES= CPAN/${PORTNAME}/:DEFAULT CPAN/Wx/:wxsc PKGNAMEPREFIX= p5- DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${WXSC_DISTFILE}:wxsc @@ -65,6 +64,7 @@ BUILD_DEPENDS= p5-JSON-XS>=2.29:${PORTSD p5-Wx>=0.97:${PORTSDIR}/x11-toolkits/p5-Wx \ p5-Wx-Perl-ProcessStream>=0.25:${PORTSDIR}/x11-toolkits/p5-Wx-Perl-ProcessStream RUN_DEPENDS:= ${BUILD_DEPENDS} +BUILD_DEPENDS+= p5-Module-Build>=0.36:${PORTSDIR}/devel/p5-Module-Build USES= compiler:c++11-lib gettext perl5 USE_PERL5= configure @@ -87,11 +87,15 @@ WXSC_DISTFILE= ${WXSC_DISTNAME}.tar.gz .include +.if ${PERL_LEVEL} >= 502100 +BUILD_DEPENDS+= p5-CGI>0:${PORTSDIR}/www/p5-CGI +RUN_DEPENDS+= p5-CGI>0:${PORTSDIR}/www/p5-CGI +.endif + .if exists(${PERL}) PERL_THREADS!= ${PERL} -V::useithreads .endif -post-extract: .if exists(${PERL}) .if ${PERL_THREADS} != "'define';" IGNORE= needs a threaded Perl, build with enabling THREADS option and try again