summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2017-09-23 20:30:30 +0000
committerwiedi <wiedi@pkgsrc.org>2017-09-23 20:30:30 +0000
commit4a9c5b7325655b1d67f8b63eefbb096edff92be0 (patch)
treec8410847e0231b08957b36c0e8991c9e5e02c3e5
parent6233d22ca6fbec2955539861f960fdd06f18c05d (diff)
downloadpkgsrc-4a9c5b7325655b1d67f8b63eefbb096edff92be0.tar.gz
snoopy: fix build on SunOS
Needs POSIX_PTHREAD_SEMANTICS
-rw-r--r--security/snoopy/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/snoopy/Makefile b/security/snoopy/Makefile
index 81b8f3ad539..67958251fa4 100644
--- a/security/snoopy/Makefile
+++ b/security/snoopy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2014/12/05 14:47:02 imil Exp $
+# $NetBSD: Makefile,v 1.2 2017/09/23 20:30:30 wiedi Exp $
DISTNAME= snoopy-2.1.0
CATEGORIES= security
@@ -16,6 +16,8 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= aclocal autoheader autoconf automake gmake
+CPPFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
+
pre-configure:
set -e; cd ${WRKSRC}; \
aclocal; autoheader; automake -a --foreign -i; autoconf