pkgsrc/lang/perl5
jlam 15c0280d2d 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.
2001-10-14 19:55:47 +00:00
..
patches Add a patch to the perl package that causes perl modules from CPAN to link 2001-10-14 19:55:47 +00:00
pkg Update perl to 5.6.1nb2. Changes from perl-5.6.1nb1 include undoing the 2001-09-05 17:13:40 +00:00
distinfo Add a patch to the perl package that causes perl modules from CPAN to link 2001-10-14 19:55:47 +00:00
Makefile Add a patch to the perl package that causes perl modules from CPAN to link 2001-10-14 19:55:47 +00:00
Makefile.common Add mirror site in Finland and Germany. 2001-06-07 12:39:24 +00:00