Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 11:09:26 +0100
From:      Jens Rehsack <rehsack@liwing.de>
To:        John Von Essen <john@essenz.com>
Cc:        ports@FreeBSD.org
Subject:   Re: using alternate makefile
Message-ID:  <3DDE0256.2020001@liwing.de>
References:  <B847FB4B-FDE1-11D6-8DAD-0003933DDCFA@essenz.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John Von Essen 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?
> 
> -John Von Essen
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message
> 

Have a look into /usr/ports/Mk/bsd.ports.mk! The variable MAKEFILE could 
defined by you. Have you read the porters handbook?

Bye
Jens
-- 
L     i  W     W     W  i                 Jens Rehsack
L        W     W     W
L     i   W   W W   W   i  nnn    gggg    LiWing IT-Services
L     i    W W   W W    i  n  n  g   g
LLLL  i     W     W     i  n  n  g   g    Friesenstraße 2
                                   gggg    06112 Halle
                                      g
                                  g   g
Tel.:  +49 - 3 45 - 5 17 05 91    ggg     e-Mail: <rehsack@liwing.de>
Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/



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?3DDE0256.2020001>