summaryrefslogtreecommitdiffstats
path: root/security/nmap
diff options
context:
space:
mode:
authorcjc <cjc@FreeBSD.org>2002-02-23 06:03:24 +0000
committercjc <cjc@FreeBSD.org>2002-02-23 06:03:24 +0000
commit451e2a5778c8b2eb921ee2eeb5c464446780e803 (patch)
tree1e6561b7815f979780477dccbe66ee4a5a097db1 /security/nmap
parent296c45a337501514b8e325d75347e56b22c342b3 (diff)
downloadFreeBSD-ports-451e2a5778c8b2eb921ee2eeb5c464446780e803.zip
FreeBSD-ports-451e2a5778c8b2eb921ee2eeb5c464446780e803.tar.gz
Only the nmap port should try to strip nmap. The nmapfe port also
uses this make file. It should not try to strip the ${PREFIX}/bin/nmap executable. The install of nmapfe would fail if nmap did not exist. PR: ports/35207 Approved by: obrien
Diffstat (limited to 'security/nmap')
-rw-r--r--security/nmap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index a395db1..a8e53c8 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -27,7 +27,7 @@ CFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h>
.endif
MAN1?= nmap.1
-.if !target(post-install)
+.if !target(post-install) && (${PORTNAME} == "nmap")
post-install:
@strip ${PREFIX}/bin/nmap
.endif
OpenPOWER on IntegriCloud