zzuf: fix build on SunOS

Uses c99 and needs correct feature test macros
This commit is contained in:
wiedi 2017-10-02 13:36:32 +00:00
parent fa45982f9a
commit 25f84d4648

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2017/04/16 21:46:12 khorben Exp $
# $NetBSD: Makefile,v 1.6 2017/10/02 13:36:32 wiedi Exp $
#
DISTNAME= zzuf-0.15
@ -9,6 +9,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://caca.zoy.org/wiki/zzuf/
COMMENT= Transparent application input fuzzer
USE_LANGUAGES= c99
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
@ -39,6 +40,8 @@ NETBSDLIB.rt!= \
echo "$$lib"
.endif
CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
TEST_TARGET= check
.include "options.mk"