summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorCrist J. Clark <cjc@FreeBSD.org>2002-02-23 06:03:24 +0000
committerCrist J. Clark <cjc@FreeBSD.org>2002-02-23 06:03:24 +0000
commitb142db9c37e3921e1b44b641d8bee3679822e156 (patch)
tree54c1d8657fdf16ee14b2632f5bcad337f8a1abe3 /security
parentUpdate to 0.84 (diff)
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
Notes
Notes: svn path=/head/; revision=55118
Diffstat (limited to 'security')
-rw-r--r--security/nmap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index a395db1cd558..a8e53c8e4f22 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