pkgsrc/www/p5-libapreq2/Makefile
seb c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00

48 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2010/08/21 16:37:12 seb Exp $
DISTNAME= libapreq2-2.12
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
SVR4_PKGNAME= p5la2
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/libapreq/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://httpd.apache.org/apreq/
COMMENT= Lots of Apache specific httpd handling modules
LICENSE= apache-2.0
PKG_DESTDIR_SUPPORT= user-destdir
PKG_APACHE_ACCEPTED= apache2 apache22
DEPENDS+= p5-ExtUtils-XSBuilder>=0.23:../../devel/p5-ExtUtils-XSBuilder
USE_TOOLS+= gmake
USE_LIBTOOL= YES
PERL5_PACKLIST= auto/libapreq2/.packlist
SUBST_CLASSES+= apxs
SUBST_STAGE.apxs= post-patch
SUBST_FILES.apxs= env/Makefile.in
SUBST_SED.apxs= -e "s|@APACHE2_APXS@ -i -a -n|@APACHE2_APXS@ -i -n|g"
SUBST_MESSAGE.apxs= Fixing module installation.
.include "../../lang/perl5/module.mk"
MAKE_PARAMS:= ${MAKE_PARAMS:NINSTALLDIRS=vendor}
MAKE_PARAMS+= --with-apache2-apxs="${APXS}" --with-mm-opts="INSTALLDIRS=vendor"
pre-configure:
${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}
${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}
#pre-configure:
# cd ${WRKSRC} && ./buildconf
.include "../../www/ap2-perl/buildlink3.mk"
.include "../../mk/apache.mk"
BUILDLINK_API_DEPENDS.ap2-perl+= ${APACHE_PKG_PREFIX}-perl>=2.0.1
BUILDLINK_API_DEPENDS.apache+= apache>=2.0.48
.include "../../mk/bsd.pkg.mk"