summaryrefslogtreecommitdiff
path: root/audio/musicpd
diff options
context:
space:
mode:
authorhans <hans>2012-01-11 19:51:26 +0000
committerhans <hans>2012-01-11 19:51:26 +0000
commite52fd098633b354cc731b2fe3e5b622577ca4fb1 (patch)
tree963945da1e5e1df7ea75d45d6e2c36c691e59fbd /audio/musicpd
parent99816e6774d2e6af7d57b1a95fd46f5f470b7a0b (diff)
downloadpkgsrc-e52fd098633b354cc731b2fe3e5b622577ca4fb1.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