- add a run dependency of p5-Devel-Symdump (Apache::Status uses this.

it has some checks to display a warning rather than fail, but this isn't
done consistently, so it's easier to just add the dep).

- fix @exec-update in the case where mod_perl was installed but not enabled

from Mikolaj Kucharski, thanks!
This commit is contained in:
sthen 2011-05-10 08:03:49 +00:00
parent 49214ff95f
commit 3b2f4ab90a
2 changed files with 6 additions and 7 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.34 2010/11/22 08:36:49 espie Exp $
# $OpenBSD: Makefile,v 1.35 2011/05/10 08:03:49 sthen Exp $
COMMENT= module that embeds a Perl interpreter into Apache
DISTNAME= mod_perl-1.31
PKGNAME= ${DISTNAME}
REVISION= 2
REVISION= 3
CATEGORIES= www perl5
MASTER_SITES= http://perl.apache.org/dist/ \
${MASTER_SITE_PERL_CPAN:=Apache/}
@ -24,7 +24,8 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m perl util
RUN_DEPENDS= www/p5-libwww \
RUN_DEPENDS= devel/p5-Devel-Symdump \
www/p5-libwww \
www/p5-HTML-Parser
BUILD_DEPENDS= ${RUN_DEPENDS}

View File

@ -1,7 +1,6 @@
@comment $OpenBSD: PLIST,v 1.21 2008/10/01 14:31:35 sthen Exp $
@comment $OpenBSD: PLIST,v 1.22 2011/05/10 08:03:49 sthen Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
${P5ARCH}/
@exec-update if test -f ${MODAPACHE_FINAL}; then cp -fp %D/%F ${MODAPACHE_FINAL}; else :; fi
${P5ARCH}/Apache/
${P5ARCH}/Apache.pm
${P5ARCH}/Apache/Connection.pm
@ -44,7 +43,6 @@ ${P5ARCH}/Apache/src.pm
${P5ARCH}/Apache/testold.pm
${P5ARCH}/Bundle/
${P5ARCH}/Bundle/Apache.pm
${P5ARCH}/auto/
${P5ARCH}/auto/Apache/
${P5ARCH}/auto/Apache/Leak/
${P5ARCH}/auto/Apache/Leak/Leak.bs