summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-17 13:39:32 +0000
committerhans <hans@pkgsrc.org>2012-02-17 13:39:32 +0000
commit2d89958f5c3821bccd9c4fb8e8dc4111443efd66 (patch)
treee8a50496bb866d34bea6c7280c64602b95241af0
parent39ceb17e0325eadfcb6c3ebf9d9fb5b81be4fbed (diff)
downloadpkgsrc-2d89958f5c3821bccd9c4fb8e8dc4111443efd66.tar.gz
Another fix for SunOS that I forgot in the previous commit.
-rw-r--r--audio/mad123/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/mad123/Makefile b/audio/mad123/Makefile
index 06cfaee9230..a270a8c78a9 100644
--- a/audio/mad123/Makefile
+++ b/audio/mad123/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2012/02/15 22:16:10 hans Exp $
+# $NetBSD: Makefile,v 1.31 2012/02/17 13:39:32 hans Exp $
#
DISTNAME= mad123-0.8.5
@@ -42,6 +42,8 @@ MAKE_FLAGS+= USE_OSS=yes
MAKE_FLAGS+= USE_SUN=yes
.endif
+CPPFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
+
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install: