summaryrefslogtreecommitdiff
path: root/lang/perl5/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-09-17 18:04:42 +0000
committertron <tron@pkgsrc.org>2001-09-17 18:04:42 +0000
commit95a495ffdf910db893ff36064fc67a57bad2bbdb (patch)
treee18bec3594014d3ad296719b85f455cce973167b /lang/perl5/Makefile
parent8b012e804da2c8bbd7ff19c5ecc94c5410d26769 (diff)
downloadpkgsrc-95a495ffdf910db893ff36064fc67a57bad2bbdb.tar.gz
Solve SunOS build problem in a much cleaner way by predefining "libswanted"
for Perl's configuration script as suggested by Johnny C. Lam in private e-mail.
Diffstat (limited to 'lang/perl5/Makefile')
-rw-r--r--lang/perl5/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index a7164cc0fda..4c4524af265 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2001/09/12 18:58:57 jlam Exp $
+# $NetBSD: Makefile,v 1.43 2001/09/17 18:04:42 tron Exp $
.include "../../lang/perl5/Makefile.common"
@@ -34,12 +34,14 @@ MKPIC?= yes
# dependencies.
#
LIBSWANTED.NetBSD= m crypt
+LIBSWANTED.SunOS= m crypt socket nsl
# 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.NetBSD= /usr/lib
+SYSLIBPATH.SunOS= /usr/lib
.if defined(LIBSWANTED.${OPSYS})
CONFIGURE_ARGS+= -Dlibswanted="${LIBSWANTED.${OPSYS}}"