summaryrefslogtreecommitdiff
path: root/audio/xmms-iris
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-03-12 00:48:39 +0000
committersnj <snj@pkgsrc.org>2004-03-12 00:48:39 +0000
commit969855710483539372a2457a9122d88d38bcd048 (patch)
treefa53e5e4a0becb52a45759c28947cd878559ee4e /audio/xmms-iris
parent97bf8e0c782d19e9c854e18b12f166dfa057f3de (diff)
downloadpkgsrc-969855710483539372a2457a9122d88d38bcd048.tar.gz
Use bl3 and test for the presence of libXxf86vm.so instead of disabling
this on NetBSD.
Diffstat (limited to 'audio/xmms-iris')
-rw-r--r--audio/xmms-iris/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/audio/xmms-iris/Makefile b/audio/xmms-iris/Makefile
index f29d831774b..3a8301b7d56 100644
--- a/audio/xmms-iris/Makefile
+++ b/audio/xmms-iris/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/02/14 17:21:34 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2004/03/12 00:48:39 snj Exp $
#
DISTNAME= iris-0.11
@@ -11,12 +11,16 @@ MAINTAINER= hubertf@NetBSD.org
HOMEPAGE= http://cdelfosse.free.fr/xmms-iris/
COMMENT= OpenGL Spectrum Analyzer with theme engine and fullscreen modes
-USE_BUILDLINK2= YES
-USE_LIBTOOL= YES
GNU_CONFIGURE= YES
+USE_BUILDLINK3= YES
+USE_LIBTOOL= YES
+
+.include "../../mk/bsd.prefs.mk"
# Needs libXxf86vm.so which isn't provided on NetBSD currently.
-NOT_FOR_PLATFORM=NetBSD-*
+.if !exists(${X11BASE}/lib/libXxf86vm.so)
+PKG_FAIL_REASON= "${PKGNAME} requires libXxf86vm.so"
+.endif
-.include "../../audio/xmms/buildlink2.mk"
+.include "../../audio/xmms/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"