summaryrefslogtreecommitdiff
path: root/audio/openal
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-01-11 19:51:26 +0000
committerhans <hans@pkgsrc.org>2012-01-11 19:51:26 +0000
commit65c4bdb924e1457f57516097a448e50a22cfcb04 (patch)
tree963945da1e5e1df7ea75d45d6e2c36c691e59fbd /audio/openal
parent0335f5d8289eeb47510d2b47d38bc8aa6dd1e522 (diff)
downloadpkgsrc-65c4bdb924e1457f57516097a448e50a22cfcb04.tar.gz
Fix build on SunOS.
Diffstat (limited to 'audio/openal')
-rw-r--r--audio/openal/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/openal/Makefile b/audio/openal/Makefile
index d17dd386142..22fe0aebc56 100644
--- a/audio/openal/Makefile
+++ b/audio/openal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2011/08/22 13:36:31 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2012/01/11 20:03:44 hans Exp $
DISTNAME= openal-0.0.8
PKGREVISION= 5
@@ -23,6 +23,8 @@ INSTALLATION_DIRS= ${PKGINFODIR} include/AL
PKGCONFIG_OVERRIDE= admin/pkgconfig/openal.pc.in
LIBS+= ${LIBOSSAUDIO}
+CPPFLAGS.SunOS+= -D__EXTENSIONS__
+
SUBST_CLASSES+= fixdev
SUBST_STAGE.fixdev= post-configure
SUBST_FILES.fixdev= src/backends/alc_backend_bsd.c