On Tue, Apr 10, 2001 at 10:00:52AM +0200, Stefano Zacchiroli wrote:
> I receive a bug report for findlib that state the failure of compilation
> on m68k.
> The reason is pretty simple and already know (not for me anyway): on
> m68k ocaml optimizing compiler is not available.
> Talking with Claudio I realize that this is an old problem widely know.
> 
> What is the old adopted solution ?

In your debian/rules file, just do :

(example from mlgtk, which was my test package for much of this kind of stuff)

build-stamp: 
        ...
        # Add here commands to compile the package.
        $(MAKE) libs
        if [ -x /usr/bin/ocamlopt ]; then \
                $(MAKE) libs_opt; \
        fi

Friendly,

Sven Luther


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to