pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmms-iris Use bl3 and test for the presence of l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e2a8ccab15a
branches:  trunk
changeset: 470794:5e2a8ccab15a
user:      snj <snj%pkgsrc.org@localhost>
date:      Fri Mar 12 00:48:39 2004 +0000

description:
Use bl3 and test for the presence of libXxf86vm.so instead of disabling
this on NetBSD.

diffstat:

 audio/xmms-iris/Makefile |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r ff0ae2ce37fa -r 5e2a8ccab15a audio/xmms-iris/Makefile
--- a/audio/xmms-iris/Makefile  Fri Mar 12 00:21:48 2004 +0000
+++ b/audio/xmms-iris/Makefile  Fri Mar 12 00:48:39 2004 +0000
@@ -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 @@
 HOMEPAGE=      http://cdelfosse.free.fr/xmms-iris/
 COMMENT=       OpenGL Spectrum Analyzer with theme engine and fullscreen modes
 
-USE_BUILDLINK2=        YES
+GNU_CONFIGURE= YES
+USE_BUILDLINK3=        YES
 USE_LIBTOOL=   YES
-GNU_CONFIGURE= 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"



Home | Main Index | Thread Index | Old Index