Okay, the problem Jarko was having with building SDBM_File was because
PERL_CORE wasn't getting properly propagated to recursive Makefile.PL
calls. So ext/SDBM_File/sdbm/Makefile.PL didn't see that PERL_CORE=1.
I've also improved the docs for the new targets and included the
PERLRUNINST doc fix. Also, the make_ext patch appears to have gotten
lost.
Rollback 11145 (ie. remove all the $(PERLRUN) -> $(PERLRUNINST)
changes made) and apply this patch:
--- ext/util/make_ext 2001/07/04 02:45:18 1.1
+++ ext/util/make_ext 2001/07/04 02:46:45
@@ -116,7 +116,7 @@
esac
if test ! -f $makefile ; then
- test -f Makefile.PL && ../$depth/miniperl -I../$depth/lib Makefile.PL
INSTALLDIRS=perl $passthru
+ test -f Makefile.PL && ../$depth/miniperl -I../$depth/lib Makefile.PL
+INSTALLDIRS=perl PERL_CORE=1 $passthru
fi
if test ! -f $makefile ; then
if test -f Makefile.SH; then
--- lib/ExtUtils/MakeMaker.pm 2001/07/04 18:41:20 1.1
+++ lib/ExtUtils/MakeMaker.pm 2001/07/04 18:59:37
@@ -205,7 +205,7 @@
LINKTYPE MAKEAPERL MAKEFILE MAN1PODS MAN3PODS MAP_TARGET MYEXTLIB
PERL_MALLOC_OK
NAME NEEDS_LINKING NOECHO NORECURS NO_VC OBJECT OPTIMIZE PERL PERLMAINCC
- PERLRUN PERLRUN_INST PERL_ARCHLIB PERL_CORE
+ PERLRUN PERLRUNINST PERL_ARCHLIB PERL_CORE
PERL_LIB PERL_SRC PERM_RW PERM_RWX
PL_FILES PM PM_FILTER PMLIBDIRS POLLUTE PPM_INSTALL_EXEC
PPM_INSTALL_SCRIPT PREFIX
@@ -411,7 +411,7 @@
}
if ($self->{PARENT}) {
$self->{PARENT}->{CHILDREN}->{$newclass} = $self;
- foreach my $opt (qw(CAPI POLLUTE)) {
+ foreach my $opt (qw(CAPI POLLUTE PERL_CORE)) {
if (exists $self->{PARENT}->{$opt}
and not exists $self->{$opt})
{
@@ -1647,11 +1647,14 @@
=item PERLRUN
- $(PERL) -I$(PERL_ARCH) -I$(PERL_LIB)
+Use this instead of $(PERL) or $(FULLPERL) when you wish to run perl.
+It will set up extra necessary flags for you.
-=item PERLRUN_ONST
+=item PERLRUNINST
- $(PERL) -I$(INST_ARCH) -I$(INST_LIB) -I$(PERL_ARCH) -I$(PERL_LIB)
+Use this instead of $(PERL) or $(FULLPERL) when you wish to run
+perl to work with modules. It will add things like -I$(INST_ARCH)
+and other necessary flags.
=item PERL_SRC
@@ -1772,7 +1775,8 @@
=item TEST_LIBS
-The set of -I's necessary to run a "make test".
+The set of -I's necessary to run a "make test". Use as:
+$(PERL) $(TEST_LIBS) -e '...' for example.
=item TYPEMAPS
--
Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/
Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
My breasts are arousing weapons.