summaryrefslogtreecommitdiff
path: root/net/fping/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-05-22 09:14:59 +0000
committerjperkin <jperkin@pkgsrc.org>2017-05-22 09:14:59 +0000
commitc13fa971edc231524d2e4b146214c0ccdcfd02fb (patch)
treebf4c191d8cebf7977e213b4942f7be108107f7ef /net/fping/Makefile
parentcf8d6369dff4d30e0ccc0733670e134a917f6242 (diff)
downloadpkgsrc-c13fa971edc231524d2e4b146214c0ccdcfd02fb.tar.gz
Package requires C99. SunOS requires XPG6 and __EXTENSIONS__.
Diffstat (limited to 'net/fping/Makefile')
-rw-r--r--net/fping/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/fping/Makefile b/net/fping/Makefile
index 7a946a83154..6d7e7b6cd7a 100644
--- a/net/fping/Makefile
+++ b/net/fping/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2017/05/20 11:25:50 adam Exp $
+# $NetBSD: Makefile,v 1.18 2017/05/22 09:14:59 jperkin Exp $
DISTNAME= fping-4.0
CATEGORIES= net
@@ -8,11 +8,12 @@ MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://www.fping.org/
COMMENT= Quickly ping many hosts w/o flooding the network
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c99
-SPECIAL_PERMS+= sbin/fping ${SETUID_ROOT_PERMS}
+SPECIAL_PERMS+= sbin/fping ${SETUID_ROOT_PERMS}
-CPPFLAGS.SunOS+= -Dn_time=uint32_t
+CFLAGS.SunOS+= -Dn_time=uint32_t -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
.include "options.mk"