Subject: Re: please build qt3-libs and qt3-tools using buildlink3 (patches
To: Marc Recht <recht@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 07/06/2004 09:07:58
On Sat, 3 Jul 2004, Marc Recht wrote:

> > Early last month, I used these ideas under Linux and NetBSD 1.6.2 to build
> > and install qt3-libs and qt3-tools and a few packages using qt3.
> >
> > Please test the following patches. (It also makes qt3-libs pkgview
> > ready but I did not test that.)
>
> I doubt that pkgviews will work for qt3-libs since there're plugins for qt3
> (eg. pgsql, mysql) which have to be installed with the same ${PREFIX}.

Okay.

I committed to pkgsrc changes so qt3-libs and qt3-tools build using
BUILDLINK3.

I didn't commit the parts to make qt3-libs pkgview ready. I didn't test
that myself.

If anyone can work on or test the following, please let us know.

Index: x11/qt3-libs/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/qt3-libs/Makefile,v
retrieving revision 1.25
diff -b -u -r1.25 Makefile
--- x11/qt3-libs/Makefile	6 Jul 2004 16:01:10 -0000	1.25
+++ x11/qt3-libs/Makefile	6 Jul 2004 16:06:56 -0000
@@ -3,6 +3,10 @@

 LIBQT=			${WRKSRC}/lib/libqt-mt.la

+# set this before Makefile.common which includes compiler.mk which includes
+# bsd.prefs.mk which sets PKG_INSTALLATION_TYPE to the wrong value.
+PKG_INSTALLATION_TYPES=	overwrite pkgviews
+
 .include "../qt3-libs/Makefile.common"

 PKGNAME=		qt3-libs-${QTVERSION}



 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/