Date: Wed, 31 Jul 2013 09:14:12 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324019 - head/www/libapreq2 Message-ID: <201307310914.r6V9EC4v090197@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <autrijus@autrijus.org> -# +# Created by: Autrijus Tang <autrijus@autrijus.org> # $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 "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307310914.r6V9EC4v090197>