summaryrefslogtreecommitdiff
path: root/net/hping
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2013-10-21 09:01:20 +0000
committerfhajny <fhajny@pkgsrc.org>2013-10-21 09:01:20 +0000
commitfd423146dcebe937f45f47c76c81ce1526023f95 (patch)
tree207b7cd68218fc043be9c6ea93b3f9bf94724b1d /net/hping
parentba1f3472f468c05f27e708ffd34daa2e25544182 (diff)
downloadpkgsrc-fd423146dcebe937f45f47c76c81ce1526023f95.tar.gz
Fix build on SunOS
Diffstat (limited to 'net/hping')
-rw-r--r--net/hping/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/hping/Makefile b/net/hping/Makefile
index 3f3c2458536..0fdff77f200 100644
--- a/net/hping/Makefile
+++ b/net/hping/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2013/02/06 19:30:57 jperkin Exp $
+# $NetBSD: Makefile,v 1.14 2013/10/21 09:05:09 fhajny Exp $
#
DISTNAME= hping2.0.0-rc3
@@ -21,6 +21,8 @@ INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
CONFIGURE_ENV+= PCAPINCDIR=${BUILDLINK_PREFIX.libpcap}/include
CONFIGURE_ENV+= PCAPLIBDIR=${BUILDLINK_PREFIX.libpcap}/lib
+CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t
+
.include "options.mk"
do-install: