diff options
author | hans <hans> | 2011-11-01 16:18:54 +0000 |
---|---|---|
committer | hans <hans> | 2011-11-01 16:18:54 +0000 |
commit | 19450f717b815da28cef49e98632dc63de0df7fa (patch) | |
tree | c9ff57f22c5f32e3852258678fac1bb8125d3c48 /audio/arts/Makefile | |
parent | 93e7205f66135a8c978048450524734f5f3d7b86 (diff) | |
download | pkgsrc-19450f717b815da28cef49e98632dc63de0df7fa.tar.gz |
Fix build on SunOS >= 5.10 with gcc >= 4.6
Diffstat (limited to 'audio/arts/Makefile')
-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 |