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
commitc62be9ca4508316fe053c47953fcf2f6a13d5acb (patch)
tree963945da1e5e1df7ea75d45d6e2c36c691e59fbd /audio/musicpd
parent48b7679328d1d9e213ee2103f76abdff333e6fe0 (diff)
downloadpkgsrc-c62be9ca4508316fe053c47953fcf2f6a13d5acb.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