summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorjlam <jlam>2005-03-24 02:33:08 +0000
committerjlam <jlam>2005-03-24 02:33:08 +0000
commitea1524ab99eb857f4a5215d38e81fba09f802098 (patch)
tree99338f629f541c3b11bc147859859c294e5530c2 /lang/perl5
parent38a9c7529a12431a550d2a3faf1d119e21f194d8 (diff)
downloadpkgsrc-ea1524ab99eb857f4a5215d38e81fba09f802098.tar.gz
Perl's Configure needs to be restricted from finding libraries that
we don't want it to find. The usual buildlink techniques don't work here since the Configure script uses a file existence test instead of a linker test to see if the library exists. For each operating system that we support in pkgsrc, there should be corresponding LIBSWANTED.${OPSYS} and SYSLIBPATH.${OPSYS} definitions in the Perl package Makefiles to ensure we only get what we ask for. In this particular case, add the appropriate definitions for OpenBSD so that we don't pick up random libraries that may also be installed on the system.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 2db2af0e24c..42de11beca2 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.90 2005/03/23 16:52:01 jlam Exp $
+# $NetBSD: Makefile,v 1.91 2005/03/24 02:33:08 jlam Exp $
.include "../../lang/perl5/Makefile.common"
@@ -65,19 +65,21 @@ CONFIGURE_ARGS+= -Duse64bitint
# dependencies. If this isn't defined, then use the perl defaults for the
# particular operating system.
#
+LIBSWANTED.BSDOS= m crypt dl bind
LIBSWANTED.FreeBSD= m crypt
LIBSWANTED.IRIX= m crypt
LIBSWANTED.NetBSD= m crypt
+LIBSWANTED.OpenBSD= m crypt
LIBSWANTED.SunOS= m crypt dl socket nsl
-LIBSWANTED.BSDOS= m crypt dl bind
# Nail down the directories in which the system libraries may be found.
# If this isn't defined, then use the perl defaults for the particular
# operating system.
#
+SYSLIBPATH.BSDOS= /usr/lib
SYSLIBPATH.NetBSD= /usr/lib
+SYSLIBPATH.OpenBSD= /usr/lib
SYSLIBPATH.SunOS= /usr/lib
-SYSLIBPATH.BSDOS= /usr/lib
# Nail down the directories in which headers and libraries of
# locally-installed software may be found.