summaryrefslogtreecommitdiff
path: root/net/nmap
diff options
context:
space:
mode:
authoragc <agc>2000-01-28 14:36:37 +0000
committeragc <agc>2000-01-28 14:36:37 +0000
commit948ad18a711c4c9150a4e0bf239612b508620bc3 (patch)
tree559a1e1da6dfb5530142d15c688cad8606705942 /net/nmap
parent2fe6761a3ab3dfa74c38ff72b9ded8f4a6af3e4c (diff)
downloadpkgsrc-948ad18a711c4c9150a4e0bf239612b508620bc3.tar.gz
Make this package compile and run on Solaris.
Diffstat (limited to 'net/nmap')
-rw-r--r--net/nmap/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/nmap/Makefile b/net/nmap/Makefile
index 28606fd41e4..b5b222bbb53 100644
--- a/net/nmap/Makefile
+++ b/net/nmap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/04/05 18:50:30 hubertf Exp $
+# $NetBSD: Makefile,v 1.7 2000/01/28 14:36:37 agc Exp $
#
DISTNAME= nmap-2.12
@@ -12,4 +12,10 @@ HOMEPAGE= http://www.insecure.org/nmap/index.html
GNU_CONFIGURE= YES
CONFIGURE_ENV+= INSTALL=${INSTALL}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= CPPFLAGS=""
+.endif
+
.include "../../mk/bsd.pkg.mk"