Date: Sun, 1 Sep 2002 17:10:02 -0700 (PDT) From: Tim Vanderhoek <vanderh@ecf.utoronto.ca> To: freebsd-ports@FreeBSD.org Subject: Re: ports/42300: [PATCH] Allow building when the -f makefile option is specified Message-ID: <200209020010.g820A2Ml068207@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: Tim Vanderhoek <vanderh@ecf.utoronto.ca> To: Dan Langille <danl@freebsddiary.org> 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, 1 Sep 2002 20:04:09 -0400 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 -- If I could think of a two-line witty aphorism for you to remember me by, this would definitely be it. 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?200209020010.g820A2Ml068207>