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: > > > >> Vasil Dimov wrote: > >> > >>> 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! > >>> > >>> > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/92532 > >> > >> > > > > Even if I do ``make PACKAGE_BUILDING=y'' the directory > > /usr/X11R6/etc/settings gets created (during build). > > > > What is the idea of this code: > > > > .if defined(PACKAGE_BUILDING) > > TMPDIR?= /tmp > > MAKE_ENV+= TMPDIR="${TMPDIR}" > > CONFIGURE_ENV+= TMPDIR="${TMPDIR}" > > .endif > > > > in bsd.kde.mk? (the port has USE_QT_VER=3) > > > > 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="${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? -- Vasil Dimov [EMAIL PROTECTED] % Take it easy, we're in a hurry.
pgpMNeHrgXBLa.pgp
Description: PGP signature
_______________________________________________ kde-freebsd mailing list [email protected] http://kf.liquidneon.com/mailman/listinfo/kde-freebsd
