sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (47bfb6dad09487478429af1db8a0759f88f88088)
- From: Jaka Kranjc <lynx AT mages.ath.cx>
- To: Juuso Alasuutari <iuso AT sourcemage.org>
- Cc: sm-commit AT lists.ibiblio.org
- Subject: Re: [SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (47bfb6dad09487478429af1db8a0759f88f88088)
- Date: Fri, 21 Dec 2007 09:20:35 +0100
On Friday 21 of December 2007 08:44:13 Juuso Alasuutari wrote:
> On Wednesday 19 December 2007 22:37:59 Julien ROZO wrote:
> > Juuso Alasuutari a écrit :
> > > libdca: Added missing SOURCE_DIRECTORY to DETAILS.
> >
> > Is SOURCE_DIRECTORY mandatory ?
> > looking at http://wiki.sourcemage.org/DETAILS, it is said :
> > " SOURCE_DIRECTORY : Used to specify the location where the source will
> > be unpacked."
> >
> >
> > libdca compiles flawlessly for me without SOURCE_DIRECTOY set, as if
> > SOURCE_DIRECTORY equals to $BUILD_DIRECTORY/$SPELL-$VERSION by default.
> >
> >
> > Thanks in advance for any answer :)
>
> Hi, and sorry that it took me 1.5 days to answer you!
>
> I'm using devel sorcery, and for me BUILD would fail saying it can't
> find ./configure. Via a clever insertion of a `pwd` command I found out
> that BUILD was being run in /usr/src. (Notice that there actually isn't a
> BUILD file in the spell, I'm talking about the default build routine.)
>
> Perhaps devel sorcery doesn't default to executing default_build from
> $BUILD_DIRECTORY/$SPELL-$VERSION when SOURCE_DIRECTORY is missing? Jaka,
> could you check this out please?
Build api2 run_build:
...
echo "Compile log for $SPELL $VERSION Built on `date -u`" > $C_LOG
echo "Using gcc version: `gcc -dumpversion`" >> $C_LOG
if [ -d "$SOURCE_DIRECTORY" ] ; then
cd "$SOURCE_DIRECTORY"
else
cd "$BUILD_DIRECTORY"
fi &&
...
I didn't find any other defaults. Much older sorceries didn't fallback to
BUILD_DIRECTORY in that function.
--
We cannot command nature except by obeying her. --Sir Francis Bacon
Have a sourcerous day! www.sourcemage.org
Attachment:
signature.asc
Description: This is a digitally signed message part.
-
[SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (47bfb6dad09487478429af1db8a0759f88f88088),
Juuso Alasuutari, 12/19/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (47bfb6dad09487478429af1db8a0759f88f88088),
Julien ROZO, 12/19/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (47bfb6dad09487478429af1db8a0759f88f88088),
Juuso Alasuutari, 12/21/2007
- Re: [SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (47bfb6dad09487478429af1db8a0759f88f88088), Jaka Kranjc, 12/21/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (47bfb6dad09487478429af1db8a0759f88f88088),
Juuso Alasuutari, 12/21/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (47bfb6dad09487478429af1db8a0759f88f88088),
Julien ROZO, 12/19/2007
Archive powered by MHonArc 2.6.24.