summaryrefslogtreecommitdiff
path: root/www/ap-perl/Makefile
diff options
context:
space:
mode:
authortv <tv>1999-05-01 00:42:29 +0000
committertv <tv>1999-05-01 00:42:29 +0000
commit87e73006a0c51b4d941b585fc9a4160baab95bbb (patch)
tree3b610cc852b9d3e3067d24053b3c89cd379469ea /www/ap-perl/Makefile
parentda20edfa9409efd3abe0981aa4f8ac79ec7c204a (diff)
downloadpkgsrc-87e73006a0c51b4d941b585fc9a4160baab95bbb.tar.gz
Link in the DynaLoader so that libperl works when loaded into apache.
Diffstat (limited to 'www/ap-perl/Makefile')
-rw-r--r--www/ap-perl/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/ap-perl/Makefile b/www/ap-perl/Makefile
index e48041924c3..f1a3b1d9832 100644
--- a/www/ap-perl/Makefile
+++ b/www/ap-perl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1999/04/30 17:05:21 tv Exp $
+# $NetBSD: Makefile,v 1.5 1999/05/01 00:42:29 tv Exp $
#
DISTNAME= mod_perl-1.19
@@ -13,6 +13,8 @@ DEPENDS= libperl-5.00404:../../lang/libperl \
apache-1.3.6p0:../../www/apache
USE_PERL5= yes
+MAKE_ENV= DYNALOADER_OBJ_PIC="${PREFIX}/lib/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/5.00404/DynaLoader_pic.o"
+
do-configure:
@cd ${WRKSRC} && ${PREFIX}/bin/perl Makefile.PL USE_APXS=1 \
WITH_APXS=${PREFIX}/sbin/apxs EVERYTHING=1