summaryrefslogtreecommitdiff
path: root/net/nmap
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-04-04 16:36:40 +0000
committerhubertf <hubertf>1999-04-04 16:36:40 +0000
commit014bae51365f93b816db03914f2c31eacd6501b5 (patch)
treed3e0d325677fd53728836455d5567a95c22ae26a /net/nmap
parentdaf7a7ff90610c1cf3b6f5e38cefe08c974adcc1 (diff)
downloadpkgsrc-014bae51365f93b816db03914f2c31eacd6501b5.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)