Date: Tue, 19 Sep 2006 21:20:51 +0200 From: Michael Nottebrock <lofi@freebsd.org> To: vd@freebsd.org Cc: ports@freebsd.org, Dmitry Marakasov <amdmi3@mail.ru>, kde@freebsd.org, Sam Lawrance <boris@brooknet.com.au> Subject: Re: [kde-freebsd] Re: QT related issue (ports/102829) Message-ID: <45104313.1030506@freebsd.org> In-Reply-To: <20060919112405.GC42796@qlovarnika.bg.datamax> References: <20060919102458.GB42796@qlovarnika.bg.datamax> <450FCD0B.7050801@brooknet.com.au> <20060919112405.GC42796@qlovarnika.bg.datamax>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD25C02716C56F53494CFFC05 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Vasil Dimov schrieb: > On Tue, Sep 19, 2006 at 08:57:15PM +1000, Sam Lawrance wrote: > =20 >> Vasil Dimov wrote: >> =20 >>> Hi, >>> >>> Can someone familiar with the QT tools uic and moc take a look at >>> ports/102829 - the port in question is using scons and the directory >>> /usr/X11R6/etc/settings/ is being created during build but probably >>> the problem is not in the port or the software itself but rather in >>> qt or scons. It looks very mysterious to me. >>> >>> Any help is appreciated, thanks in advance! >>> =20 >>> =20 >> http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/92532 >> >> =20 > > Even if I do ``make PACKAGE_BUILDING=3Dy'' the directory > /usr/X11R6/etc/settings gets created (during build). > > What is the idea of this code: > > .if defined(PACKAGE_BUILDING) > TMPDIR?=3D /tmp > MAKE_ENV+=3D TMPDIR=3D"${TMPDIR}" > CONFIGURE_ENV+=3D TMPDIR=3D"${TMPDIR}" > .endif > > in bsd.kde.mk? (the port has USE_QT_VER=3D3) > =20 You will need to make sure that the TMPDIR environment variable is set during build (so uic will see it). Scons by default does *not* preserve and propagate the shell environment it's being called from, so you will have to modify the main sconscript file to at least import TMPDIR from the external environment ( see http://www.scons.org/doc/HTML/scons-user/c1171.html ). Once you do that, uic will create the temporary configurations files / directories in TMPDIR (if PACKAGE_BUILDING is set), which is ok'd by kris and won't flag errors on pointyhat. Cheers, -- ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --------------enigD25C02716C56F53494CFFC05 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFEEMWXhc68WspdLARAlUbAKCdLOv6geDdvaVHo2e17y4peMXmEQCfRgFb zmYq9J5iAFdbN0HSiDExOSQ= =XH/g -----END PGP SIGNATURE----- --------------enigD25C02716C56F53494CFFC05--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45104313.1030506>