Date: Fri, 11 Feb 2005 11:00:38 +1100 From: Edwin Groothuis <edwin@mavetju.org> To: Ryan Sommers <ryans@gamersimpact.com> Cc: ports@freebsd.org Subject: Re: Twice included bsd.port.mk error Message-ID: <20050211000038.GA1175@k7.mavetju> In-Reply-To: <53901.63.231.157.250.1107924833.squirrel@63.231.157.250> References: <53901.63.231.157.250.1107924833.squirrel@63.231.157.250>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 08, 2005 at 09:53:53PM -0700, Ryan Sommers wrote: > Line 895 bsd.port.mk: > > .if defined(_PREMKINCLUDED) > check-makefile:: > @${ECHO_CMD} "${PKGNAME}: Makefile error: you cannot include > bsd.port[.pre].mk twice" > @${FALSE} > .endif > > _PREMKINCLUDED= yes > > attempts to catch including this file twice. However, it never does. (Try > including it twice in a port.) [~] edwin@k7>cat Makefile PORTVERSION=1 PORTNAME=boo CATEGORIES=www .include <bsd.port.pre.mk> .include <bsd.port.pre.mk> .include <bsd.port.post.mk> [~] edwin@k7>make boo-1: Makefile error: you cannot include bsd.port[.pre].mk twice The issue is more that the port doesn't do anything unless bsd.port.[post.]mk isn't included. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050211000038.GA1175>