Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2002 06:00:14 -0700 (PDT)
From:      "Dan Langille" <dan@langille.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/42300: [PATCH] Allow building when the -f makefile option is specified
Message-ID:  <200209051300.g85D0EkP012046@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/42300; it has been noted by GNATS.

From: "Dan Langille" <dan@langille.org>
To: Tim Vanderhoek <vanderh@ecf.utoronto.ca>
Cc: FreeBSD-gnats-submit@FreeBSD.org, wvengen@stack.nl
Subject: Re: ports/42300: [PATCH] Allow building when the -f makefile option is specified
Date: Thu, 05 Sep 2002 08:55:29 -0400

 On 1 Sep 2002 at 20:04, Tim Vanderhoek wrote:
 
 > On Sun, Sep 01, 2002 at 07:19:09PM -0400, Dan Langille wrote:
 > > 
 > >  #
 > >  
 > >  PORTNAME=	cheatah
 > > -PORTVERSION=	${MAKE} -V PORTVERSION -f ${MAINDIR}/${MAKEFILE}
 > > -PORTREVISION=	${MAKE} -V PORTREVISION -f ${MAINDIR}/${MAKEFILE}
 > > -PORTEPOCH=	${MAKE} -V PORTEPOCH -f ${MAINDIR}/${MAKEFILE}
 > > +PORTVERSION=	${MAKE} -V PORTVERSION -f ${MAINDIR}/${MKFILE}
 > > +PORTREVISION=	${MAKE} -V PORTREVISION -f ${MAINDIR}/${MKFILE}
 > > +PORTEPOCH=	${MAKE} -V PORTEPOCH -f ${MAINDIR}/${MKFILE}
 > >  CATEGORIES=	misc
 > >  DISTFILES=
 > >  
 > > @@ -24,6 +24,7 @@
 > >  USE_GNOME=	gtk12
 > >  
 > >  MAINDIR=	${.CURDIR}/../sword
 > > +MKFILE!=	/usr/bin/basename ${MAKEFILE}
 > 
 > Since ${MAINDIR} always refers to another port directory, I
 > think that it is better in this case to simply do:
 > 
 > -PORTVERSION=	${MAKE} -V PORTVERSION -f ${MAINDIR}/${MAKEFILE}
 > -PORTREVISION=	${MAKE} -V PORTREVISION -f ${MAINDIR}/${MAKEFILE}
 > -PORTEPOCH=	${MAKE} -V PORTEPOCH -f ${MAINDIR}/${MAKEFILE}
 > +PORTVERSION=	${MAKE} -V PORTVERSION -f ${MAINDIR}/Makefile
 > +PORTREVISION=	${MAKE} -V PORTREVISION -f ${MAINDIR}/Makefile
 > +PORTEPOCH=	${MAKE} -V PORTEPOCH -f ${MAINDIR}/Makefile
 
 I thought further about this.  What if ${MAKEFILE} != Makefile?
 -- 
 Dan Langille
 I'm looking for a computer job:
 http://www.freebsddiary.org/dan_langille.php
 

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?200209051300.g85D0EkP012046>