summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-01-27 13:40:03 +0000
committergrant <grant@pkgsrc.org>2004-01-27 13:40:03 +0000
commit076449ec2bddbc031b53f0bb884021eba3c5c3cb (patch)
treef5a359de29b0f78f5d26c3a36990b8c8db6ec904 /net
parent4bf97cc8c6c8a44aa5b019d351811e9451b26b7a (diff)
downloadpkgsrc-076449ec2bddbc031b53f0bb884021eba3c5c3cb.tar.gz
tidy up how extra libraries are passed and add libs required on
Solaris.
Diffstat (limited to 'net')
-rw-r--r--net/ripe-whois-tools/Makefile11
-rw-r--r--net/ripe-whois-tools/distinfo4
-rw-r--r--net/ripe-whois-tools/patches/patch-aa9
3 files changed, 10 insertions, 14 deletions
diff --git a/net/ripe-whois-tools/Makefile b/net/ripe-whois-tools/Makefile
index 74ec9b46e47..b83a598e675 100644
--- a/net/ripe-whois-tools/Makefile
+++ b/net/ripe-whois-tools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/01/20 12:22:21 agc Exp $
+# $NetBSD: Makefile,v 1.5 2004/01/27 13:40:03 grant Exp $
#
DISTNAME= ripe-whois-tools-2.4
@@ -11,12 +11,9 @@ COMMENT= RIPE WHOIS client and tools
WRKSRC= ${WRKDIR}
-.include "../../mk/bsd.prefs.mk"
+LIBS.NetBSD= -lcrypt
+LIBS.SunOS= -lnsl -lsocket
-.if ${OPSYS} == "NetBSD"
-EXTRA_LIBS= -lcrypt
-.endif
-
-MAKE_ENV+= EXTRA_LIBS=${EXTRA_LIBS}
+MAKE_ENV+= LIBS="${LIBS}"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/ripe-whois-tools/distinfo b/net/ripe-whois-tools/distinfo
index d7726545f37..566451d06c0 100644
--- a/net/ripe-whois-tools/distinfo
+++ b/net/ripe-whois-tools/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/05/18 11:39:29 rh Exp $
+$NetBSD: distinfo,v 1.2 2004/01/27 13:40:03 grant Exp $
SHA1 (ripe-whois-tools-2.4.tar.gz) = 0ce107294de244da74efe01928596eaebe090a62
Size (ripe-whois-tools-2.4.tar.gz) = 8613 bytes
-SHA1 (patch-aa) = b90ecd2cd29dabc37b7b35715a4cc1dbfdef2016
+SHA1 (patch-aa) = 94508f4e63e941b5078dbdcb9fd79127344c7598
SHA1 (patch-ab) = 241f9c51ceb834ae90d44b3567dd59116c5696f8
SHA1 (patch-ac) = 2340f3e8abf02f6ecd3c32e52c076f11fc12773b
diff --git a/net/ripe-whois-tools/patches/patch-aa b/net/ripe-whois-tools/patches/patch-aa
index 75d09493bef..8053832f704 100644
--- a/net/ripe-whois-tools/patches/patch-aa
+++ b/net/ripe-whois-tools/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/05/18 11:39:29 rh Exp $
+$NetBSD: patch-aa,v 1.2 2004/01/27 13:40:03 grant Exp $
---- Makefile.orig Mon Nov 16 17:38:32 1998
+--- Makefile.orig 1998-11-17 03:38:32.000000000 +1100
+++ Makefile
-@@ -19,14 +19,16 @@
+@@ -19,14 +19,15 @@
DEFINES= -DRIPE
PROG= whois cryptpw
@@ -16,7 +16,6 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/05/18 11:39:29 rh Exp $
+INSTALL_MAN= ${BSD_INSTALL_MAN}
+
CFLAGS= ${DEFINES}
-+LIBS= ${EXTRA_LIBS}
#
# for BSDI
-CC=shlicc2 -Wall -ansi -pedantic -O6 -m486
@@ -24,7 +23,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/05/18 11:39:29 rh Exp $
#
# for Linux
#CC=gcc -Wall -ansi -pedantic -O6 -m486
-@@ -45,8 +47,10 @@
+@@ -45,8 +46,10 @@ cryptpw: Makefile cryptpw.c
$(CC) ${CFLAGS} cryptpw.c -o cryptpw ${LIBS}
install: ${PROG}