Install a PIC version of DynaLoader.o so that, e.g., mod_perl can link it
in with a dlopen of libperl.
This commit is contained in:
parent
28e918eeb1
commit
910aeb3ff8
3 changed files with 11 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue