summaryrefslogtreecommitdiff
path: root/lang/libperl
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-12-02 22:15:02 +0000
committertv <tv@pkgsrc.org>1998-12-02 22:15:02 +0000
commit910aeb3ff8e3940a8de6d3b7c11671fd409aaa86 (patch)
tree23e00e077cde2b725ba7bb1335161d80d3a76f0b /lang/libperl
parent28e918eeb14afe3335d447749c3b8237b50b2826 (diff)
downloadpkgsrc-910aeb3ff8e3940a8de6d3b7c11671fd409aaa86.tar.gz
Install a PIC version of DynaLoader.o so that, e.g., mod_perl can link it
in with a dlopen of libperl.
Diffstat (limited to 'lang/libperl')
-rw-r--r--lang/libperl/Makefile8
-rw-r--r--lang/libperl/pkg/PLIST-aout3
-rw-r--r--lang/libperl/pkg/PLIST-elf3
3 files changed, 11 insertions, 3 deletions
diff --git a/lang/libperl/Makefile b/lang/libperl/Makefile
index 07f3773b085..9af864fae4e 100644
--- a/lang/libperl/Makefile
+++ b/lang/libperl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 1998/12/02 16:53:02 tv Exp $
+# $NetBSD: Makefile,v 1.4 1998/12/02 22:15:02 tv Exp $
#
DISTNAME= perl5.004_04
@@ -31,9 +31,15 @@ CONFIGURE_ARGS+= -sde -Dprefix=${PREFIX} -Dd_bincompat3=undef \
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}
ALL_TARGET= perl
+post-build:
+ cd ${WRKSRC}/ext/DynaLoader && ${RM} DynaLoader.o && \
+ ${MAKE} DynaLoader.o && ${MV} DynaLoader.o DynaLoader_pic.o
+
do-install:
${INSTALL_DATA} ${WRKSRC}/libperl.so* \
${PREFIX}/lib/perl5/${MACHINE_ARCH}-netbsd/5.00404/CORE/
${INSTALL_PROGRAM} ${WRKSRC}/perl ${PREFIX}/bin/soperl
+ ${INSTALL_DATA} ${WRKSRC}/ext/DynaLoader/DynaLoader_pic.o \
+ ${PREFIX}/lib/perl5/${MACHINE_ARCH}-netbsd/5.00404/
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/libperl/pkg/PLIST-aout b/lang/libperl/pkg/PLIST-aout
index 5280131cd37..6084a0dd972 100644
--- a/lang/libperl/pkg/PLIST-aout
+++ b/lang/libperl/pkg/PLIST-aout
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST-aout,v 1.1.1.1 1998/12/02 02:42:05 tv Exp $
+@comment $NetBSD: PLIST-aout,v 1.2 1998/12/02 22:15:02 tv Exp $
bin/soperl
+lib/perl5/${MACHINE_ARCH}-netbsd/5.00404/DynaLoader_pic.o
lib/perl5/${MACHINE_ARCH}-netbsd/5.00404/CORE/libperl.so.4.4
diff --git a/lang/libperl/pkg/PLIST-elf b/lang/libperl/pkg/PLIST-elf
index 12e7e07a7b4..71be05d283a 100644
--- a/lang/libperl/pkg/PLIST-elf
+++ b/lang/libperl/pkg/PLIST-elf
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST-elf,v 1.1.1.1 1998/12/02 02:42:05 tv Exp $
+@comment $NetBSD: PLIST-elf,v 1.2 1998/12/02 22:15:03 tv Exp $
bin/soperl
+lib/perl5/${MACHINE_ARCH}-netbsd/5.00404/DynaLoader_pic.o
lib/perl5/${MACHINE_ARCH}-netbsd/5.00404/CORE/libperl.so