Date: Tue, 08 May 2007 08:02:56 +0200 From: "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> To: Stevan Tiefert <stevan_tiefert@yahoo.de> Cc: Stanislav Sedov <stas@FreeBSD.org>, ports@freebsd.org Subject: Re: How to prevent make compiling a binary? Message-ID: <46401290.7080000@gmx.de> In-Reply-To: <1178565933.5854.1.camel@vagabund.w33> References: <1178550334.6653.9.camel@vagabund.w33> <20070507201247.e3f834cc.stas@FreeBSD.org> <1178565933.5854.1.camel@vagabund.w33>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46401290.7080000>