summaryrefslogtreecommitdiff
path: root/net/nmap
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-01-28 14:36:37 +0000
committeragc <agc@pkgsrc.org>2000-01-28 14:36:37 +0000
commitd5d3f019d97aca4fd5ba4ff8833d46853a84ce25 (patch)
tree559a1e1da6dfb5530142d15c688cad8606705942 /net/nmap
parentd887ba7537be0901315688956b8f0e3efbcb7bfd (diff)
downloadpkgsrc-d5d3f019d97aca4fd5ba4ff8833d46853a84ce25.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"