diff options
author | bapt <bapt@FreeBSD.org> | 2013-07-31 17:14:11 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-07-31 17:14:11 +0800 |
commit | ec410cce91fbc381d17378edd8e07ff923716d15 (patch) | |
tree | b3117c75f7c61f209f654871b7147a40aef178de /www/libapreq2 | |
parent | 05e018b3e750a4b897d1386833eaab5a9d5afa18 (diff) | |
download | freebsd-ports-gnome-ec410cce91fbc381d17378edd8e07ff923716d15.tar.gz freebsd-ports-gnome-ec410cce91fbc381d17378edd8e07ff923716d15.tar.zst freebsd-ports-gnome-ec410cce91fbc381d17378edd8e07ff923716d15.zip |
Fix p5-libapreq2 with new perl order
Use REINPLACE_CMD in post-patch instead of plain perl
Diffstat (limited to 'www/libapreq2')
-rw-r--r-- | www/libapreq2/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/www/libapreq2/Makefile b/www/libapreq2/Makefile index ba989cda0f99..82fffb5d11e5 100644 --- a/www/libapreq2/Makefile +++ b/www/libapreq2/Makefile @@ -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_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2 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 " |