How to prevent make compiling a binary?

Stevan Tiefert stevan_tiefert at yahoo.de
Tue May 8 03:48:38 PDT 2007


Am Dienstag, den 08.05.2007, 08:02 +0200 schrieb [LoN]Kamikaze:
> 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.

It is not my decision to not deliver the sourcecode. It was the decision
of the ftp.mk.bsdclub.org. The port wouldn't be necessary when the
compat3x-port didn't stopped. It was since FreeBSD 6.0 not possible
anymore to use audio/mbrola as a native port! But after that my pc
speaks german :-)



	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de


More information about the freebsd-ports mailing list