summaryrefslogtreecommitdiff
path: root/net/cidr
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-11-03 10:57:54 +0000
committergrant <grant@pkgsrc.org>2004-11-03 10:57:54 +0000
commit8969d1e0a60acabaf4733dae96700db9862af874 (patch)
treeaf36b79dfb11b352647aebec1437c76595aecd44 /net/cidr
parenta090c11ac789779d8b9dc2ca0abf7a3ff9f2591f (diff)
downloadpkgsrc-8969d1e0a60acabaf4733dae96700db9862af874.tar.gz
this needs libnsl and libsocket on Solaris.
Diffstat (limited to 'net/cidr')
-rw-r--r--net/cidr/Makefile5
-rw-r--r--net/cidr/distinfo4
-rw-r--r--net/cidr/patches/patch-aa6
3 files changed, 9 insertions, 6 deletions
diff --git a/net/cidr/Makefile b/net/cidr/Makefile
index 9383b946eb8..53751b9e32d 100644
--- a/net/cidr/Makefile
+++ b/net/cidr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/01/20 12:22:19 agc Exp $
+# $NetBSD: Makefile,v 1.5 2004/11/03 10:57:54 grant Exp $
#
DISTNAME= cidr-current
@@ -12,4 +12,7 @@ COMMENT= RFC 1878 subnet calculator / helper
WRKSRC= ${WRKDIR}/cidr-2.3
+LIBS.SunOS+= -lnsl -lsocket
+MAKE_ENV+= LIBS="${LIBS}"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/net/cidr/distinfo b/net/cidr/distinfo
index 6e572fa52e0..c471b4a4aa5 100644
--- a/net/cidr/distinfo
+++ b/net/cidr/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/08/13 20:11:46 nra Exp $
+$NetBSD: distinfo,v 1.2 2004/11/03 10:57:54 grant Exp $
SHA1 (cidr-current.tar.gz) = c543bec86e5786d19e59e262a8d3004d4aad0a71
Size (cidr-current.tar.gz) = 16898 bytes
-SHA1 (patch-aa) = a3f79ba1297fd0eae212e1aa566993fa684107c9
+SHA1 (patch-aa) = f24bffe08e2860ff4f354b0d95e352b2811ac3b9
diff --git a/net/cidr/patches/patch-aa b/net/cidr/patches/patch-aa
index f5a6937c683..36186209009 100644
--- a/net/cidr/patches/patch-aa
+++ b/net/cidr/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/08/13 20:11:46 nra Exp $
+$NetBSD: patch-aa,v 1.2 2004/11/03 10:57:54 grant Exp $
---- Makefile.orig Sat Jun 17 14:26:22 2000
+--- Makefile.orig 2001-07-03 17:23:23.000000000 +1000
+++ Makefile
@@ -1,10 +1,22 @@
# Makefile for cidr
@@ -18,7 +18,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/08/13 20:11:46 nra Exp $
+
cidr: $(OBJS)
- gcc -Wall -o cidr cidr.c
-+ $(CC) $(CFLAGS) -o cidr $(OBJS)
++ $(CC) $(CFLAGS) -o cidr $(OBJS) $(LIBS)
clean:
rm $(OBJS) cidr