How to prevent make compiling a binary?

Stanislav Sedov stas at FreeBSD.org
Mon May 7 12:18:07 PDT 2007


On Mon, 07 May 2007 17:05:26 +0200
Stevan Tiefert <stevan_tiefert at yahoo.de> mentioned:

> 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?

NO_BUILD should generally work. Could you, please, post the entire
Makefile here for us to help you?

--
Stanislav Sedov
ST4096-RIPE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070507/e2bcf541/attachment.pgp


More information about the freebsd-ports mailing list