diff options
author | hans <hans@pkgsrc.org> | 2011-11-01 16:18:54 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2011-11-01 16:18:54 +0000 |
commit | acd2d2721515e2cc800712b3fa239ef87c396946 (patch) | |
tree | c9ff57f22c5f32e3852258678fac1bb8125d3c48 /audio/arts | |
parent | 17e60bd372513b3fdc9c07b9de35839325ffe252 (diff) | |
download | pkgsrc-acd2d2721515e2cc800712b3fa239ef87c396946.tar.gz |
Fix build on SunOS >= 5.10 with gcc >= 4.6
Diffstat (limited to 'audio/arts')
-rw-r--r-- | audio/arts/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/arts/Makefile b/audio/arts/Makefile index 056a4ba07d6..4942804948d 100644 --- a/audio/arts/Makefile +++ b/audio/arts/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.75 2011/09/14 15:44:23 hans Exp $ +# $NetBSD: Makefile,v 1.76 2011/11/01 16:18:54 hans Exp $ DISTNAME= arts-1.5.10 PKGREVISION= 4 @@ -8,7 +8,14 @@ COMMENT= Analog Real-Time Synthesizer .include "../../meta-pkgs/kde3/Makefile.kde3" +.include "../../mk/bsd.prefs.mk" +.include "../../mk/compiler.mk" +.if !empty(MACHINE_PLATFORM:MSunOS-5.1[0-9]-*) && \ + !empty(CC_VERSION:Mgcc-4.[6-9].*) +CFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -std=c99 +.else CFLAGS.SunOS+= -D_XOPEN_SOURCE=500 +.endif PKG_DESTDIR_SUPPORT= user-destdir |