Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 10:59:46 +0000
From:      Kevin Golding <kevin@caomhin.demon.co.uk>
To:        John Von Essen <john@essenz.com>
Cc:        ports@FreeBSD.org
Subject:   Re: using alternate makefile
Message-ID:  <CcvkUmCi4g39Ew0v@caomhin.demon.co.uk>
In-Reply-To: <B847FB4B-FDE1-11D6-8DAD-0003933DDCFA@essenz.com>
References:  <B847FB4B-FDE1-11D6-8DAD-0003933DDCFA@essenz.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Someone, quite probably John Von Essen, once wrote:
>I am having a problem with a port I am working on.
>
>In ${WRKSRC} the actual makefile I need to use is called GNUmakefile not 
>Makefile.
>
>When I do a 'make' in /usr/ports/${CATEGORIES}/${PORTNAME}/ I get an error:
>
>===>  Building for ${PORTNAME}-${PORTVERSION}
>gmake: *** No rule to make target `all'.  Stop.
>*** Error code 2
>
>
>But if I rename GNUmakefile as "Makefile" - the error goes away and the 
>build progresses. Its seems as if the make is looking for 
>${WRKSRC}/Makefile
>
>Is there a way to explicitly tell it to use ${WRKSRC}/GNUmakefile instead?

Makefile = GNUmakefile

I've never found it in the porters handbook, but it's tucked away in
bsd.port.mk if you want to look it up.

Kevin
-- 
kevin@caomhin.demon.co.uk

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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