From owner-svn-ports-all@FreeBSD.ORG Wed Jul 31 09:14:12 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A94D2AD; Wed, 31 Jul 2013 09:14:12 +0000 (UTC) (envelope-from bapt@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 96B892457; Wed, 31 Jul 2013 09:14:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6V9ECiL090198; Wed, 31 Jul 2013 09:14:12 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6V9EC4v090197; Wed, 31 Jul 2013 09:14:12 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201307310914.r6V9EC4v090197@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 31 Jul 2013 09:14:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324019 - head/www/libapreq2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 09:14:12 -0000 Author: bapt Date: Wed Jul 31 09:14:11 2013 New Revision: 324019 URL: http://svnweb.freebsd.org/changeset/ports/324019 Log: Fix p5-libapreq2 with new perl order Use REINPLACE_CMD in post-patch instead of plain perl Modified: head/www/libapreq2/Makefile Modified: head/www/libapreq2/Makefile ============================================================================== --- head/www/libapreq2/Makefile Wed Jul 31 08:34:47 2013 (r324018) +++ head/www/libapreq2/Makefile Wed Jul 31 09:14:11 2013 (r324019) @@ -1,9 +1,5 @@ -# New ports collection makefile for: p5-libapreq2 -# Date created: June 5, 2004 -# Whom: Autrijus Tang -# +# Created by: Autrijus Tang # $FreeBSD$ -# PORTNAME= libapreq2 PORTVERSION= 2.13 @@ -35,7 +31,7 @@ P5_APREQ_DEPENDS+= ${APACHE_PKGNAMEPREFI BUILD_DEPENDS+= ${P5_APREQ_DEPENDS} RUN_DEPENDS+= ${P5_APREQ_DEPENDS} -USE_PERL5= yes +USES+= perl5 CONFIGURE_ARGS+= --enable-perl-glue --with-perl=${PERL5} MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER} @@ -54,7 +50,7 @@ MAN3= APR::Request.3 \ PLIST_SUB+= WITH_MODPERL2="" post-patch: - @${PERL5} -pi -e "s!%%APACHEINCLUDEDIR%%!${APACHEINCLUDEDIR}!" \ + @${REINPLACE_CMD} -i '' -e "s!%%APACHEINCLUDEDIR%%!${APACHEINCLUDEDIR}!" \ ${WRKSRC}/glue/perl/Makefile.PL .else PLIST_SUB+= WITH_MODPERL2="@comment "