> > --xXmbgvnjoT4axfJE > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Tue, Sep 19, 2006 at 09:20:51PM +0200, Michael Nottebrock wrote: > > 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 > >=20 > > You will need to make sure that the TMPDIR environment variable is set > > during build (so uic will see it). > Ah, I had forgotten that this port is using scons and MAKE_ENV and > CONFIGURE_ENV are irrelevant in this case. > > > 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 ). > The trick happened without modifying the SConstuct file by just adding > TMPDIR=3D"${TMPDIR}" to SCONS_BUILDENV. > > Thanks for pointing me the right direction! > > Alex: maybe TMPDIR should be set somewhere in bsd.scons.mk by default, > just like in (MAKE|CONFIGURE)_ENV in bsd.kde.mk? I would prefer that bsd.kde.mk set TMPDIR for SCONS_BUILDENV by default. I'm ok with either way though if someone has a convincing reason otherwise.
Alex > > --=20 > Vasil Dimov > [EMAIL PROTECTED] > % > Take it easy, we're in a hurry. > > --xXmbgvnjoT4axfJE > Content-Type: application/pgp-signature > Content-Disposition: inline > > -----BEGIN PGP SIGNATURE----- > > iD8DBQFFEVW9Fw6SP/bBpCARAgwQAKCbKavB4TPzBf7xPC7gybyf4xKTwACgvHh5 > BUXaH6EP4uwtHmRyU+L9rQY= > =I8s1 > -----END PGP SIGNATURE----- > > --xXmbgvnjoT4axfJE-- _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"