summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-07-19 08:44:45 +0000
committerjperkin <jperkin@pkgsrc.org>2016-07-19 08:44:45 +0000
commit9fd05d55c523323386483b2548431ea20b7fe29e (patch)
tree187bf60abc7efa70b75d37d3f38557557cf92ea0
parente5622d2f40969d02e1e37aee529b2617ef7d4ec5 (diff)
downloadpkgsrc-9fd05d55c523323386483b2548431ea20b7fe29e.tar.gz
SunOS needs -D__EXTENSIONS__ for nanosleep().
-rw-r--r--audio/openal-soft/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile
index a7fa2dae7d2..f78cbb91118 100644
--- a/audio/openal-soft/Makefile
+++ b/audio/openal-soft/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/02/08 01:53:48 markd Exp $
+# $NetBSD: Makefile,v 1.2 2016/07/19 08:44:45 jperkin Exp $
#
DISTNAME= openal-soft-1.17.2
@@ -44,6 +44,7 @@ CMAKE_ARGS+= -DEXTRA_LIBS=${LIBOSSAUDIO:Q}
CFLAGS+= -DSYS_CONF_DIR="\"${PKG_SYSCONFDIR}\""
CFLAGS.NetBSD+= -D_NETBSD_SOURCE
+CFLAGS.SunOS+= -D__EXTENSIONS__
CONF_FILES+= ${PREFIX}/share/openal/alsoftrc.sample ${PKG_SYSCONFDIR}/alsoft.conf