aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_perl
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2001-02-15 18:50:18 +0800
committersheldonh <sheldonh@FreeBSD.org>2001-02-15 18:50:18 +0800
commit774d41fb4b66ac5f9db4206f7c8c629714a20fb6 (patch)
tree7257a95624931bdd4ddf6b0b41cb57afd1999dc7 /www/mod_perl
parentd44ba14ce1efa2e1989fd30f668627dbd3bc3887 (diff)
downloadfreebsd-ports-gnome-774d41fb4b66ac5f9db4206f7c8c629714a20fb6.tar.gz
freebsd-ports-gnome-774d41fb4b66ac5f9db4206f7c8c629714a20fb6.tar.zst
freebsd-ports-gnome-774d41fb4b66ac5f9db4206f7c8c629714a20fb6.zip
Fix PREFIX-clean breakage for libperl.so by breaking out its
installation from the mod_perl MakeMaker mess into the port's Makefile. This port is now PREFIX-clean.
Diffstat (limited to 'www/mod_perl')
-rw-r--r--www/mod_perl/Makefile1
-rw-r--r--www/mod_perl/files/patch-aa15
2 files changed, 16 insertions, 0 deletions
diff --git a/www/mod_perl/Makefile b/www/mod_perl/Makefile
index 0274b91add35..6e66540e728b 100644
--- a/www/mod_perl/Makefile
+++ b/www/mod_perl/Makefile
@@ -55,6 +55,7 @@ post-install:
${MKDIR} ${PREFIX}/include/apache/modules/perl
${INSTALL_DATA} ${WRKSRC}/src/modules/perl/*.h \
${PREFIX}/include/apache/modules/perl
+ ${INSTALL_PROGRAM} ${WRKSRC}/apaci/libperl.so ${PREFIX}/libexec/apache
${SH} ${PKGINSTALL}
.include <bsd.port.post.mk>
diff --git a/www/mod_perl/files/patch-aa b/www/mod_perl/files/patch-aa
new file mode 100644
index 000000000000..b8df70a4f89d
--- /dev/null
+++ b/www/mod_perl/files/patch-aa
@@ -0,0 +1,15 @@
+--- Makefile.PL.orig Thu Feb 15 12:39:35 2001
++++ Makefile.PL Thu Feb 15 12:41:28 2001
+@@ -1300,7 +1300,11 @@
+ my $string = $self->MM::install;
+ my $add = "";
+ if($USE_APXS) {
+- $add = "apxs_install";
++# XXX The FreeBSD port for mod_perl takes care of installing libperl.so
++# itself via the pkg-install script.
++#
++# $add = "apxs_install";
++ print "Disabling apxs_install target; deferred to pkg-install\n";
+ }
+ elsif ($win32_auto and $win32_args{INSTALL_DLL}) {
+ $add = 'amp_install';