summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2017-10-02 13:36:32 +0000
committerwiedi <wiedi@pkgsrc.org>2017-10-02 13:36:32 +0000
commit642bb2e1055d6fb2a93cbe9c392480c876e61042 (patch)
tree054f040966a2fe747e4d87b3ea53b5085e3278e8
parentc23ea3d1351d975d412544365ac5b562941a8455 (diff)
downloadpkgsrc-642bb2e1055d6fb2a93cbe9c392480c876e61042.tar.gz
zzuf: fix build on SunOS
Uses c99 and needs correct feature test macros
-rw-r--r--devel/zzuf/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/zzuf/Makefile b/devel/zzuf/Makefile
index 9eaafc8ae0d..418f0260612 100644
--- a/devel/zzuf/Makefile
+++ b/devel/zzuf/Makefile
@@ -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"