pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/fping Package requires C99. SunOS requires XPG6 a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1bc2db02e6ea
branches:  trunk
changeset: 362684:1bc2db02e6ea
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon May 22 09:14:59 2017 +0000

description:
Package requires C99.  SunOS requires XPG6 and __EXTENSIONS__.

diffstat:

 net/fping/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 22f1a67b7305 -r 1bc2db02e6ea net/fping/Makefile
--- a/net/fping/Makefile        Mon May 22 08:59:12 2017 +0000
+++ b/net/fping/Makefile        Mon May 22 09:14:59 2017 +0000
@@ -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 @@
 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"
 



Home | Main Index | Thread Index | Old Index