summaryrefslogtreecommitdiff
path: root/net/cidr/patches
diff options
context:
space:
mode:
authornra <nra@pkgsrc.org>2001-08-13 20:11:46 +0000
committernra <nra@pkgsrc.org>2001-08-13 20:11:46 +0000
commitca6cc2b11156a8a4c020d24f6c177a9000a0a2f0 (patch)
treee2da71cc0996c11aa2fac3a27946ad4771e4e50d /net/cidr/patches
parent676e8d5176c01690a34cfb51deaf95920f7b2e51 (diff)
downloadpkgsrc-ca6cc2b11156a8a4c020d24f6c177a9000a0a2f0.tar.gz
Add net/cidr. PR 13068 by Stoned Elipot.
RFC 1878 subnet calculator / helper
Diffstat (limited to 'net/cidr/patches')
-rw-r--r--net/cidr/patches/patch-aa28
1 files changed, 28 insertions, 0 deletions
diff --git a/net/cidr/patches/patch-aa b/net/cidr/patches/patch-aa
new file mode 100644
index 00000000000..f5a6937c683
--- /dev/null
+++ b/net/cidr/patches/patch-aa
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/08/13 20:11:46 nra Exp $
+
+--- Makefile.orig Sat Jun 17 14:26:22 2000
++++ Makefile
+@@ -1,10 +1,22 @@
+ # Makefile for cidr
+ # 5/9/2000
+
++INSTALL_PROGRAM = $(BSD_INSTALL_PROGRAM)
++INSTALL_MAN = $(BSD_INSTALL_MAN)
++
++BINDIR = $(PREFIX)/bin
++MANDIR = $(PREFIX)/man/man1
++
+ OBJS = cidr.o
+
++all: cidr
++
+ cidr: $(OBJS)
+- gcc -Wall -o cidr cidr.c
++ $(CC) $(CFLAGS) -o cidr $(OBJS)
+
+ clean:
+ rm $(OBJS) cidr
++
++install: cidr
++ $(INSTALL_PROGRAM) cidr $(DESTDIR)$(BINDIR)
++ $(INSTALL_MAN) cidr.1 $(DESTDIR)$(MANDIR)