update to an svn checkout of the (mostly-dead?) branch for apache 1.x,
this will be needed in order to update Perl.

works for me with in-tree Perl.

also works with 5.16.3 (plus a patch to Perl from NetBSD is also
needed; https://rt.perl.org/rt3/Ticket/Display.html?id=116441)

OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/mod_perl/Makefile,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile
--- Makefile    11 Mar 2013 11:44:43 -0000      1.39
+++ Makefile    20 Mar 2013 22:21:29 -0000
@@ -2,12 +2,13 @@
 
 COMMENT=       module that embeds a Perl interpreter into Apache
 
-DISTNAME=      mod_perl-1.31
-PKGNAME=       ${DISTNAME}
-REVISION=      6
+DISTNAME=      mod_perl-1.32pre20130312
 CATEGORIES=    www perl5
-MASTER_SITES=  http://perl.apache.org/dist/ \
-               ${MASTER_SITE_PERL_CPAN:=Apache/}
+
+# svn checkout; upstream is at http://perl.apache.org/dist/
+# or ${MASTER_SITE_PERL_CPAN:=Apache/} but is now mostly dead
+# for apache 1.x
+MASTER_SITES=  http://spacehopper.org/mirrors/
 
 HOMEPAGE=      http://perl.apache.org/
 
@@ -19,7 +20,8 @@ MODAPACHE_FILE=       ${MODAPACHE_LOCATION}/li
 
 # Apache
 PERMIT_PACKAGE_CDROM=  Yes
-WANTLIB=               c m perl util 
+
+WANTLIB=               c m perl util
 
 RUN_DEPENDS=           devel/p5-Devel-Symdump \
                        www/p5-libwww \
@@ -32,7 +34,6 @@ NO_TEST=      Yes
 
 CONFIGURE_STYLE= perl
 CONFIGURE_ARGS=        USE_APXS="1" EVERYTHING="1" WITH_APXS="/usr/sbin/apxs"
-USE_GROFF =    Yes
 
 INSTALL_TARGET=        pure_install doc_install
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/mod_perl/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo    5 Jun 2009 16:13:15 -0000       1.7
+++ distinfo    20 Mar 2013 22:21:29 -0000
@@ -1,5 +1,2 @@
-MD5 (mod_perl-1.31.tar.gz) = 0hiL9QDp8AzXjcl8P79rlw==
-RMD160 (mod_perl-1.31.tar.gz) = KWvV6VAYwxO6uErnshrp9kvUo5Q=
-SHA1 (mod_perl-1.31.tar.gz) = X26t8rD8JO1DdtdwgiY5G6oUxz8=
-SHA256 (mod_perl-1.31.tar.gz) = C8fSY4E5t6yXQuJwUVE++zMlBAk+yoRIjKFVhbFIYME=
-SIZE (mod_perl-1.31.tar.gz) = 389960
+SHA256 (mod_perl-1.32pre20130312.tar.gz) = 
Tc2Zg4gmgXHjmd66dDT9uBMNFHXB9X3W0sD8QpeLO/A=
+SIZE (mod_perl-1.32pre20130312.tar.gz) = 390926
Index: patches/patch-apaci_configure
===================================================================
RCS file: patches/patch-apaci_configure
diff -N patches/patch-apaci_configure
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-apaci_configure       20 Mar 2013 22:21:29 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- apaci/configure.orig       Wed Mar 20 21:28:50 2013
++++ apaci/configure    Wed Mar 20 21:31:08 2013
+@@ -42,7 +42,7 @@ for my_dir in $PATH; do
+     if test -f "$my_dir/apxs"; then
+         if test -x "$my_dir/apxs"; then
+             my_apxs="$my_dir/apxs"
+-            break 2
++            break
+         fi
+     fi
+ done

Reply via email to