Date: Sun, 1 Sep 2002 20:10:03 -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: <200209020310.g823A3rj024632@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: Sun, 01 Sep 2002 23:03:30 -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 That's great. Thank you. -- 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?200209020310.g823A3rj024632>