How to prevent make compiling a binary?

Scot Hetzel swhetzel at gmail.com
Mon May 7 08:54:09 PDT 2007


On 5/7/07, Stevan Tiefert <stevan_tiefert at yahoo.de> wrote:
> Hello list,
>
> I've tar'ed and gzip'ed a binary library. Put on a web-server. Wrote a
> Makefile like the Porter's Handbook describes. It fetches the *.tar.gz
> and so on.
>
> But during the "make install" he asks for a Makefile (I think
> PORTNAME/work/DISTNAME/Makefile) but there is no Makefile because it is
> not needed. The library is compiled!
>
> I thought the "NO_BUILD= yes" would be enough. But it seems I need
> addiotional work.
>
> Again: I want to prevent make to search for */work/*/Makefile!
>
> Can somebody kick me to the right direction?
>
Create a "do-install" target in your ports Makefile that installs the
binary file.

Scot

-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-ports mailing list