summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-10-14 19:55:47 +0000
committerjlam <jlam@pkgsrc.org>2001-10-14 19:55:47 +0000
commit15c0280d2da3eb1822b2e1076d68cc6c0baabffa (patch)
treec81d77a7e319f119f4e5f9f3eda79e94630530ab /mk
parent2536d45da71f54b5ec4256da0771277a975eb00e (diff)
downloadpkgsrc-15c0280d2da3eb1822b2e1076d68cc6c0baabffa.tar.gz
Add a patch to the perl package that causes perl modules from CPAN to link
directly against -lperl when built. Combined with the previous update of perl to add ${LOCALBASE}/lib to the rpath when creating shared libraries/modules, these two changes make using mod_perl.so (ap-perl) more painless. All perl shared modules now contain interlibrary dependencies to the shared libraries they need. Instead of needing (at least on ELF): LoadFile !/usr/lib/libm.so LoadFile lib/perl5/5.6.1/i386-netbsd/CORE/libperl.so ... # Any other libraries needed by perl shared modules need to listed # with LoadFile here. ... LoadModule perl_module lib/httpd/mod_perl.so AddModule mod_perl.c you'd need only the last two lines as the mod_perl authors intended. I've tested this patch for many weeks now, successfully loading and using the p5-Apache-ASP module as my test bed, and I haven't noticed any problems with normal perl usage. Also comment the Makefile slightly better.
Diffstat (limited to 'mk')
0 files changed, 0 insertions, 0 deletions