aboutsummaryrefslogtreecommitdiff
path: root/www/mod_perl2
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2013-04-20 16:29:57 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2013-04-20 16:29:57 +0000
commit6d57a2c6850cd92367d1f54b4a2041df24348220 (patch)
treec251fa097011d20c18650386badf5e8a90b95732 /www/mod_perl2
parent8d33d37aa20ff89e1584650ddf79e8d0ffe66d7a (diff)
downloadports-6d57a2c6850cd92367d1f54b4a2041df24348220.tar.gz
ports-6d57a2c6850cd92367d1f54b4a2041df24348220.zip
Notes
Diffstat (limited to 'www/mod_perl2')
-rw-r--r--www/mod_perl2/Makefile15
-rw-r--r--www/mod_perl2/distinfo4
2 files changed, 10 insertions, 9 deletions
diff --git a/www/mod_perl2/Makefile b/www/mod_perl2/Makefile
index cf5108ad19c4..8ef61f37fbb5 100644
--- a/www/mod_perl2/Makefile
+++ b/www/mod_perl2/Makefile
@@ -1,13 +1,8 @@
-# New ports collection makefile for: mod_perl2
-# Date created: February 13th 2003
-# Whom: Lars Eggert <larse@isi.edu>
-#
+# Created by: Lars Eggert <larse@isi.edu>
# $FreeBSD$
-#
PORTNAME= mod_perl
-PORTVERSION= 2.0.7
-PORTREVISION= 1
+PORTVERSION= 2.0.8
PORTEPOCH= 3
CATEGORIES= www perl5
MASTER_SITES= APACHE/perl
@@ -96,6 +91,9 @@ PLIST_SUB+= THREADRWLOCK="@comment "
post-patch:
${REINPLACE_CMD} -e 's/APR_INLINE//g' \
${PATCH_WRKSRC}/src/modules/perl/modperl_common_util.h
+ ${REINPLACE_CMD} -e "s|/usr/local/apache/bin/apxs|${APXS}|" \
+ -e "s|'bin', 'apxs'|'sbin', 'apxs'|" \
+ ${WRKSRC}/lib/Apache2/Build.pm
post-configure:
${REINPLACE_CMD} -e 's/-pthread -Wl,-E//g' \
@@ -114,4 +112,7 @@ post-install:
${APXS} -e -A -n perl ${PREFIX}/${APACHEMODDIR}/mod_perl.so
@${CAT} ${PKGMESSAGE}
+test: build
+ -@(cd ${WRKSRC} && ${MAKE} test)
+
.include <bsd.port.post.mk>
diff --git a/www/mod_perl2/distinfo b/www/mod_perl2/distinfo
index 89441557c8a5..a34731afff8a 100644
--- a/www/mod_perl2/distinfo
+++ b/www/mod_perl2/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mod_perl-2.0.7.tar.gz) = 53414be9db843054b927f23a35edb7b82d99e32e031b3cd81d5ff2473f51e3c6
-SIZE (mod_perl-2.0.7.tar.gz) = 3784950
+SHA256 (mod_perl-2.0.8.tar.gz) = 35dc1b7a40a90a395ce88bba2df84f22289975f34d1757de6d715560c20a20e6
+SIZE (mod_perl-2.0.8.tar.gz) = 3790026