Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2006 09:58:46 +0200
From:      Robin Gruyters <r.gruyters@yirdis.nl>
To:        Scot Hetzel <swhetzel@gmail.com>
Cc:        ports@freebsd.org, David Naylor <blackdragon@highveldmail.co.za>
Subject:   Re: FreeBSD Port: libpreludedb-0.9.10
Message-ID:  <20061025095846.9modeqtyckgk8cgo@server.yirdis.net>
In-Reply-To: <790a9fff0610250030w2cc2ddfbnce3bbbc0de63d6fd@mail.gmail.com>
References:  <200610241732.45087.blackdragon@highveldmail.co.za> <20061025090438.ez1y8v23ggkw8k80@server.yirdis.net> <790a9fff0610250030w2cc2ddfbnce3bbbc0de63d6fd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Scot Hetzel <swhetzel@gmail.com>:

> On 10/25/06, Robin Gruyters <r.gruyters@yirdis.nl> wrote:
>> Quoting David Naylor <blackdragon@highveldmail.co.za>:
>>
>>> 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 th=
e
>>> same error.  (My make.conf includes WITH_PYTHON=3Dyes)
>>>
>>>> From the build command:
>>>       make WITH_PYTHON=3Dyes
>>>       "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 sa=
ke
>>> 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.
>
Hmm, is like the chicken and the egg... Ok, going to update the Makefile..

Regards,

Robin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061025095846.9modeqtyckgk8cgo>