From owner-freebsd-ports@FreeBSD.ORG Tue May 8 06:03:20 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A16A16A401 for ; Tue, 8 May 2007 06:03:20 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 7962313C44C for ; Tue, 8 May 2007 06:03:19 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 08 May 2007 06:03:18 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO mobileKamikaze.norad) [129.13.72.169] by mail.gmx.net (mp021) with SMTP; 08 May 2007 08:03:18 +0200 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX18Rn6EVPT8Re8JmjhTp9F+uyszaNDD/VOKefwOmRd KRGzAV6PKbDGoO Message-ID: <46401290.7080000@gmx.de> Date: Tue, 08 May 2007 08:02:56 +0200 From: "[LoN]Kamikaze" User-Agent: Thunderbird 2.0.0.0 (X11/20070506) MIME-Version: 1.0 To: Stevan Tiefert References: <1178550334.6653.9.camel@vagabund.w33> <20070507201247.e3f834cc.stas@FreeBSD.org> <1178565933.5854.1.camel@vagabund.w33> In-Reply-To: <1178565933.5854.1.camel@vagabund.w33> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Stanislav Sedov , ports@freebsd.org Subject: Re: How to prevent make compiling a binary? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2007 06:03:20 -0000 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 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.