summaryrefslogtreecommitdiff
path: root/audio/musicpd
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/musicpd
parent0335f5d8289eeb47510d2b47d38bc8aa6dd1e522 (diff)
downloadpkgsrc-65c4bdb924e1457f57516097a448e50a22cfcb04.tar.gz
Fix build on SunOS.
Diffstat (limited to 'audio/musicpd')
-rw-r--r--audio/musicpd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile
index 7a5f3ceb1c8..e9f1cbca176 100644
--- a/audio/musicpd/Makefile
+++ b/audio/musicpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2011/11/16 01:33:19 sbd Exp $
+# $NetBSD: Makefile,v 1.54 2012/01/11 20:02:57 hans Exp $
DISTNAME= mpd-0.16.2
PKGNAME= ${DISTNAME:S/mpd/musicpd/}
@@ -22,6 +22,8 @@ USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
+CPPFLAGS.SunOS+= -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
+
.include "options.mk"
EGDIR= ${PREFIX}/share/examples/mpd