This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
More NetBSD patches from Johnny Lam.
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 27 Apr 2002 22:17:57 +0000 (22:17 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 27 Apr 2002 22:17:57 +0000 (22:17 +0000)
commit30afd0dc34ec4b8eed82e154a076dbd7781b549e
treee8e603237905d1efa5fb63cefb61788a976818fb
parent8a31060d0e98afa6004d194f5c17a527289cb541
More NetBSD patches from Johnny Lam.

Remove the need for a $prefix setting that was added in the
previous patch I sent. Also add the proper rpath options
to the linker flags depending on whether we're on a ELF or
a.out platform.  These were tested both in a non-pkgsrc and
pkgsrc build.

Append to $libs instead of overwriting its value.  This was
causing $(LDLOADLIBS) to not get added to the dynamic_libs
link command on NetBSD systems and was the cause of the GDBM
problems reported.  Also use '$(LDLOADLIBS)' instead of
expanding its value so that it is more easily overridden in
the Makefile by "make all LDLOADLIBS=...".

Remove "-L/usr/local/lib" because the location of libgdbm.so
is already added during the Configure process, and this
spurious addition may cause the wrong libgdbm.so to be linked
against as a result.

p4raw-id: //depot/perl@16233
ext/GDBM_File/Makefile.PL
hints/netbsd.sh
lib/ExtUtils/MM_Unix.pm