pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang Perl's Configure needs to be restricted from find...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f05faaa17189
branches: trunk
changeset: 491423:f05faaa17189
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Mar 24 02:33:08 2005 +0000
description:
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:
lang/perl5/Makefile | 8 +++++---
lang/perl58/Makefile | 6 ++++--
2 files changed, 9 insertions(+), 5 deletions(-)
diffs (62 lines):
diff -r 9f20346ce030 -r f05faaa17189 lang/perl5/Makefile
--- a/lang/perl5/Makefile Thu Mar 24 02:27:51 2005 +0000
+++ b/lang/perl5/Makefile Thu Mar 24 02:33:08 2005 +0000
@@ -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 @@
# 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.
diff -r 9f20346ce030 -r f05faaa17189 lang/perl58/Makefile
--- a/lang/perl58/Makefile Thu Mar 24 02:27:51 2005 +0000
+++ b/lang/perl58/Makefile Thu Mar 24 02:33:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.76 2005/03/23 16:52:02 jlam Exp $
+# $NetBSD: Makefile,v 1.77 2005/03/24 02:33:08 jlam Exp $
# The following two variables should have empty values unless we're
# building a perl snapshot or release candidate.
@@ -97,9 +97,10 @@
#
LIBSWANTED.Darwin= m c
LIBSWANTED.FreeBSD= m crypt
+LIBSWANTED.IRIX= m crypt
LIBSWANTED.Interix= m dl
-LIBSWANTED.IRIX= m crypt
LIBSWANTED.NetBSD= m crypt
+LIBSWANTED.OpenBSD= m crypt
LIBSWANTED.SunOS= m crypt dl socket nsl
LIBSWANTED= ${LIBSWANTED.${OPSYS}}
@@ -111,6 +112,7 @@
SYSLIBPATH.FreeBSD= /usr/lib
SYSLIBPATH.Interix= /usr/lib
SYSLIBPATH.NetBSD= /usr/lib
+SYSLIBPATH.OpenBSD= /usr/lib
SYSLIBPATH.SunOS= /usr/lib
SYSLIBPATH= ${SYSLIBPATH.${OPSYS}}
Home |
Main Index |
Thread Index |
Old Index