summaryrefslogtreecommitdiff
path: root/net/isic/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/isic/patches/patch-aa')
-rw-r--r--net/isic/patches/patch-aa34
1 files changed, 22 insertions, 12 deletions
diff --git a/net/isic/patches/patch-aa b/net/isic/patches/patch-aa
index 6b254281d1f..a0ca9d6ef41 100644
--- a/net/isic/patches/patch-aa
+++ b/net/isic/patches/patch-aa
@@ -1,17 +1,27 @@
-$NetBSD: patch-aa,v 1.1 2007/02/18 18:49:36 adrianp Exp $
+$NetBSD: patch-aa,v 1.2 2009/12/09 12:32:22 obache Exp $
---- Makefile.in.orig 2004-11-06 20:39:55.000000000 +0000
+* user-destdir support
+* honor PKGMANDIR.
+
+--- Makefile.in.orig 2006-12-22 08:33:32.000000000 +0000
+++ Makefile.in
-@@ -5,9 +5,9 @@
- PREFIX ?= /usr/local
+@@ -2,6 +2,7 @@
+ # To build for Trinux, add '-static' to LDFLAGS
+ # and 'strip *sic' after they compile
++DESTDIR =
+ PREFIX = @prefix@
CC = @CC@
--DEFS = @DEFS@ `libnet-config --defines`
--CFLAGS = @CFLAGS@ `libnet-config --cflags`
--LIBS = @LIBS@ `libnet-config --libs`
-+DEFS = @DEFS@ `libnet11-config --defines`
-+CFLAGS = @CFLAGS@ `libnet11-config --cflags`
-+LIBS = @LIBS@ `libnet11-config --libs`
- LDFLAGS = @LDFLAGS@
+ DEFS = @DEFS@ `libnet-config --defines`
+@@ -63,7 +64,7 @@ package: distclean
+ tar -czvf isic-$(VERSION).tgz ./isic-$(VERSION)/* )
- INSTALL = @INSTALL@
+ install: $(BINS) $(MAN)
+- $(INSTALL) -m 0755 -d $(PREFIX)/bin
+- $(INSTALL) -m 0755 -c $(BINS) $(PREFIX)/bin
+- $(INSTALL) -m 0755 -d $(PREFIX)/man/man1
+- ${INSTALL} -m 0755 -c $(MAN) $(PREFIX)/man/man1
++ $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin
++ $(INSTALL) -m 0755 -c $(BINS) $(DESTDIR)$(PREFIX)/bin
++ $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
++ ${INSTALL} -m 0755 -c $(MAN) $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1