How to prevent make compiling a binary?

[LoN]Kamikaze LoN_Kamikaze at gmx.de
Mon May 7 23:03:20 PDT 2007


Stevan Tiefert wrote:
> Am Montag, den 07.05.2007, 20:12 +0400 schrieb Stanislav Sedov:
>> 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
> 
> Thank you for trying helping me. I am very thankfully but with the
> "do-install:" -thing is it working!!! :-)  I have already posted my port
> via send-pr.

For a binary port you will also have to set ONLY_FOR_ARCHS in your ports Makefile. Also, I do not know what kind of irresistible magic is performed by your library, but I do not think many people will be willing to use a pre-compiled library.


More information about the freebsd-ports mailing list