summaryrefslogtreecommitdiff
path: root/net/nmap
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-04-04 16:36:40 +0000
committerhubertf <hubertf@pkgsrc.org>1999-04-04 16:36:40 +0000
commit61114c53473171fc59b2cf5786c2d09ff94b0c02 (patch)
treed3e0d325677fd53728836455d5567a95c22ae26a /net/nmap
parent25422953eeb65976fd7859c85bff804a4e2d38f6 (diff)
downloadpkgsrc-61114c53473171fc59b2cf5786c2d09ff94b0c02.tar.gz
Fix for lame 1.3.3 install(1) which doesn't allow -c together with -d.
Pointed out in PR 7318 by Dave Burgess <burgess@cynjut.neonramp.com>
Diffstat (limited to 'net/nmap')
-rw-r--r--net/nmap/Makefile3
-rw-r--r--net/nmap/patches/patch-aa22
2 files changed, 24 insertions, 1 deletions
diff --git a/net/nmap/Makefile b/net/nmap/Makefile
index a6d2a8a7dc7..7b632d8e41b 100644
--- a/net/nmap/Makefile
+++ b/net/nmap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1999/04/04 03:51:50 hubertf Exp $
+# $NetBSD: Makefile,v 1.5 1999/04/04 16:36:40 hubertf Exp $
#
DISTNAME= nmap-2.11
@@ -10,5 +10,6 @@ MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.insecure.org/nmap/index.html
GNU_CONFIGURE= YES
+CONFIGURE_ENV+= INSTALL=${INSTALL}
.include "../../mk/bsd.pkg.mk"
diff --git a/net/nmap/patches/patch-aa b/net/nmap/patches/patch-aa
new file mode 100644
index 00000000000..533b3df599a
--- /dev/null
+++ b/net/nmap/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 1999/04/04 16:36:40 hubertf Exp $
+
+Lame 1.3.3 install(1) doesn't understand -c and -d at the same time.
+Fix this (see PR 7318).
+
+--- Makefile.in.orig Wed Mar 31 11:07:26 1999
++++ Makefile.in Sun Apr 4 18:17:55 1999
+@@ -111,10 +111,10 @@
+ $(INSTALL) -d $(mandir)
+ $(INSTALL) -d $(mandir)/man1
+ $(INSTALL) -d $(libdir)
+- $(INSTALL) -m 755 $(TARGET) $(bindir)/$(TARGET)
+- $(INSTALL) -m 644 docs/$(TARGET).1 $(mandir)/man1/$(TARGET).1
+- $(INSTALL) -m 644 nmap-os-fingerprints $(libdir)/nmap-os-fingerprints
+- $(INSTALL) -m 644 nmap-services $(libdir)/nmap-services
++ $(INSTALL) -c -m 755 $(TARGET) $(bindir)/$(TARGET)
++ $(INSTALL) -c -m 644 docs/$(TARGET).1 $(mandir)/man1/$(TARGET).1
++ $(INSTALL) -c -m 644 nmap-os-fingerprints $(libdir)/nmap-os-fingerprints
++ $(INSTALL) -c -m 644 nmap-services $(libdir)/nmap-services
+
+ uninstall:
+ rm -f $(bindir)/$(TARGET)