diff options
author | markm <markm@FreeBSD.org> | 2001-05-26 17:40:09 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-05-26 17:40:09 +0000 |
commit | be44ddbe41c499f1c344859b8158dc7190505e17 (patch) | |
tree | 6a087bd7b69ff8223c98993f88de1e74cf1ca32a /gnu | |
parent | 71613237c64c83918d7ae1378b032961eb73a15b (diff) | |
download | FreeBSD-src-be44ddbe41c499f1c344859b8158dc7190505e17.zip FreeBSD-src-be44ddbe41c499f1c344859b8158dc7190505e17.tar.gz |
From the submitter:
$ PERL_DL_NONLAZY=1 perl -MPOSIX -e ''
Can't load '/usr/libdata/perl/5.6.0/mach/auto/POSIX/POSIX.so' for module
POSIX: /usr/libdata/perl/5.6.0/mach/auto/POSIX/POSIX.so: Undefined
symbol "sv_setptrobj" at /usr/libdata/perl/5.6.0/XSLoader.pm line 73.
at /usr/libdata/perl/5.6.0/mach/POSIX.pm line 24
Compilation failed in require.
BEGIN failed--compilation aborted.
This problem only exists in -CURRENT. Most often it is reproduced when
compiling some perl extension manually. Make test uses PERL_DL_NONLAZY,
and if a tested module uses POSIX, boom!
Luckily, we don't see it very often, mostly because the vast majority of
p5 ports do not perform the `make test' step.
Submitted by: Anton Berezin <tobez@tobez.org>
Needs to be a committer already: Anton Berezin <tobez@tobez.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/perl/Makefile.inc | 2 | ||||
-rw-r--r-- | gnu/usr.bin/perl/library/Makefile.inc | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/gnu/usr.bin/perl/Makefile.inc b/gnu/usr.bin/perl/Makefile.inc index c27d297..6abd347 100644 --- a/gnu/usr.bin/perl/Makefile.inc +++ b/gnu/usr.bin/perl/Makefile.inc @@ -82,7 +82,7 @@ CLEANDIRS+= lib ext Porting hints build FARMDIRS= lib ext Porting hints -MAKEMAKER_ARGS= INSTALLDIRS=perl PERL_SRC=${.OBJDIR} \ +MAKEMAKER_ARGS?= INSTALLDIRS=perl PERL_SRC=${.OBJDIR} \ INSTALLMAN3DIR=${DESTDIR}/usr/share/perl/man3 \ PERL=${MINIPERL} FULLPERL=perl DEFINE=-I${DESTDIR}/usr/include \ DEFINE=-DPERL_CORE diff --git a/gnu/usr.bin/perl/library/Makefile.inc b/gnu/usr.bin/perl/library/Makefile.inc index bde6f9a..b339f00 100644 --- a/gnu/usr.bin/perl/library/Makefile.inc +++ b/gnu/usr.bin/perl/library/Makefile.inc @@ -8,8 +8,7 @@ MODULEDIR?= ${MODULE} MAKEMAKER_ARGS= INSTALLDIRS=perl PERL_SRC=${.OBJDIR} \ INSTALLMAN3DIR=${DESTDIR}/usr/share/perl/man3 \ - PERL=${MINIPERL} FULLPERL=perl DEFINE=-I${DESTDIR}/usr/include \ - DEFINE=-DPERL_CORE + PERL=${MINIPERL} FULLPERL=perl DEFINE=-I${DESTDIR}/usr/include CFLAGS+= -L${.OBJDIR}/../../libperl |