summaryrefslogtreecommitdiff
path: root/audio/tunepimp/Makefile
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2004-11-01 12:47:22 +0000
committermarkd <markd@pkgsrc.org>2004-11-01 12:47:22 +0000
commit32953c623c62816fc76cb0f05b7e0ae7016fb581 (patch)
treef87be0afb2e8cb4084d5accbc81870b53b978d34 /audio/tunepimp/Makefile
parent6ebaf69d1866d79b32bc775b5aed5171f28c3698 (diff)
downloadpkgsrc-32953c623c62816fc76cb0f05b7e0ae7016fb581.tar.gz
Make build on Solaris.
Diffstat (limited to 'audio/tunepimp/Makefile')
-rw-r--r--audio/tunepimp/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/tunepimp/Makefile b/audio/tunepimp/Makefile
index 04ebdef89df..22e9b558809 100644
--- a/audio/tunepimp/Makefile
+++ b/audio/tunepimp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/10/07 16:36:47 tv Exp $
+# $NetBSD: Makefile,v 1.4 2004/11/01 12:47:22 markd Exp $
DISTNAME= libtunepimp-0.3.0
PKGNAME= ${DISTNAME:S/lib//}
@@ -20,6 +20,13 @@ USE_BUILDLINK3= YES
USE_LIBTOOL= YES
USE_LANGUAGES= c c++
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+pre-configure:
+ ${ECHO} "#define HAVE_STATVFS 1" >> ${WRKSRC}/config.h.in
+.endif
+
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"