aboutsummaryrefslogtreecommitdiff
path: root/www/mod_perl
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-02-15 10:50:18 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-02-15 10:50:18 +0000
commit57dd4641695d0ba0ca591395cec8bac24e5afe6e (patch)
tree3c33bdd3043160051b5b82cafd37485927f17375 /www/mod_perl
parent46b467dd182c01cca497cd7517c2a20c2232c379 (diff)
downloadports-57dd4641695d0ba0ca591395cec8bac24e5afe6e.tar.gz
ports-57dd4641695d0ba0ca591395cec8bac24e5afe6e.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.
Notes
Notes: svn path=/head/; revision=38361
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';