Hi goboers.

The other day i was preparing a recipe for Clisp to give Gobolinux a
clisp package when i saw how clisp attempts to be compiled.
If you try to compile at hand, it needs to do some extra steps between
configure and make, and needs to run the make tool under a dir named
'src' (or whatever you choose).
This kind of compile can be done with a makefile recipe (but the recipe
gets some awful).

Talking with paranoidd on irc (i think he is Lucas C.) he told me that
he patched Compile to support the option 'do_build=no' in 'configure'
recipes, so this way the recipe gets less awful than previous one (i
need yet a pre_install hook to compile it).

I was looking at Compile code, and i saw that there is a check to test
if makefile is unset, and if it is, set to 'Makefile'. I propose to let
compile to not do this test, and make the '-f ${makefile}' flag
dynamic (compile only will use it if makefile is set, otherwise make
will use the default one, 'Makefile'). This way, you can replace the
make tool with any one you want setting it in environment array:
        environment=("make=./configure").

I make a little patch which enables this feature, the patch is against
the last Compile commit.

Another suggestion is to add a new hook in 'configure' recipes between
configure and make, what do you think about this?.

Greets, Aitor.

-- 
... Bardulia quae nunc vocatur Castella ...

Attachment: Compile.patch
Description: Binary data

_______________________________________________
gobolinux-devel mailing list
[email protected]
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to