From owner-freebsd-ports@FreeBSD.ORG Wed Oct 25 07:30:30 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5614B16A403 for ; Wed, 25 Oct 2006 07:30:30 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id D918743D5E for ; Wed, 25 Oct 2006 07:30:28 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so29742uge for ; Wed, 25 Oct 2006 00:30:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eYTJ3vOkxKxYl8+xfOUFHwRb6cZzgXxdkDBgskHnbKkaQB2NSMk+GbxVlouT8WxQsZoKOJ73ISPCKn9Bsx682oaHRkWAFAHc4eqUqFhyMCKilzqBBuVJqWGVXQGq0nXrt4vtADcTwtFlf8AkvPJPLnDhGYJTkeyUCNZqSd1Wbc4= Received: by 10.66.252.4 with SMTP id z4mr330804ugh; Wed, 25 Oct 2006 00:30:27 -0700 (PDT) Received: by 10.67.86.8 with HTTP; Wed, 25 Oct 2006 00:30:26 -0700 (PDT) Message-ID: <790a9fff0610250030w2cc2ddfbnce3bbbc0de63d6fd@mail.gmail.com> Date: Wed, 25 Oct 2006 02:30:26 -0500 From: "Scot Hetzel" To: "Robin Gruyters" In-Reply-To: <20061025090438.ez1y8v23ggkw8k80@server.yirdis.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200610241732.45087.blackdragon@highveldmail.co.za> <20061025090438.ez1y8v23ggkw8k80@server.yirdis.net> Cc: ports@freebsd.org, David Naylor Subject: Re: FreeBSD Port: libpreludedb-0.9.10 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: Wed, 25 Oct 2006 07:30:30 -0000 On 10/25/06, Robin Gruyters wrote: > Quoting David Naylor : > > > Hi, > > > > I have recently tried a "make index" for the ports dir, it failed with a > > complaint about libpreludedb, when I tried to make libpreludedb I got the > > same error. (My make.conf includes WITH_PYTHON=yes) > > > >> From the build command: > > make WITH_PYTHON=yes > > "Makefile", line 43: Could not find /Mk/bsd.python.mk > > make: fatal errors encountered -- cannot continue > > > > I have tried "make -V PORTSDIR" on different ports and the output > > is: /usr/ports Which is correct. The problematic line, for interest sake > > is: > > .include "${PORTSDIR}/Mk/bsd.python.mk" > > > > I have have a current copy of ports from cvsup2.za.freebsd.org > > > Hi David,e > > Hmm, that's weird... Looks like you are missing bsd.python.mk. > Can you check if it exists in the /usr/ports/Mk dir? > The problem is that PORTSDIR is not defined before the attempt to include bsd.python.mk due to make doesn't included bsd.port.mk until it gets to the end of the Makefile. Have a look at how the security/ftimes handles the include for bsd.openssl.mk using bsd.ports.pre.mk and bsd.ports.post.mk. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.