summaryrefslogtreecommitdiff
path: root/audio/mad123/Makefile
diff options
context:
space:
mode:
authorhans <hans>2012-02-17 13:39:32 +0000
committerhans <hans>2012-02-17 13:39:32 +0000
commit2e437fc7e944f90f43c01af6d1242ccd856ebbd8 (patch)
treee8a50496bb866d34bea6c7280c64602b95241af0 /audio/mad123/Makefile
parent5943cac131a343b4f7ffacb197c60e4350fe74fb (diff)
downloadpkgsrc-2e437fc7e944f90f43c01af6d1242ccd856ebbd8.tar.gz
Another fix for SunOS that I forgot in the previous commit.
Diffstat (limited to 'audio/mad123/Makefile')
-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: