Subject: Re: pkg/25754 (Make arts use the paths provided by buildlink3 and thus pkgview ready.)
To: None <gnats-bugs@NetBSD.org>
From: Joachim Kuebart <joachim.kuebart@gmx.net>
List: pkgsrc-bugs
Date: 11/27/2006 23:36:45
Hi,

I'm now using the following diff to current pkgsrc, which replaces the patch
posted on this PR by me previously. This enables to install arts with
pkgviews, provided that qt3-libs and qt3-tools are pkgviews-enabled (see PRs
pkg/25753 and pkg/35144).

This patch is necessary because arts' configure process does not adhere to
the conventions for qt3-tools environment variable names (UIC -> UIC_PATH).

Cheers,

cu Jo


RCS file: /pub/NetBSD-CVS/pkgsrc/audio/arts/Makefile,v
retrieving revision 1.60
diff -u -p -r1.60 Makefile
--- Makefile	12 Oct 2006 10:25:25 -0000	1.60
+++ Makefile	27 Nov 2006 23:20:11 -0000
@@ -9,6 +9,8 @@ COMMENT=	Analog Real-Time Synthesizer
 
 CONFLICTS+=	kdelibs-2*
 
+PKG_INSTALLATION_TYPES=	overwrite pkgviews
+
 USE_TOOLS+=	perl pkg-config
 
 # Ensure we export symbols in the linked shared object.
@@ -31,4 +33,7 @@ _IN_ARTS_BUILD=		yes
 CONFIGURE_ARGS+=	--disable-threading
 .endif
 
+# arts' configure expects non-standard variable names for these:
+CONFIGURE_ENV+=	UIC_PATH="${QTTOOLSDIR}/bin/uic"
+
 .include "../../mk/bsd.pkg.mk"