Date: Sat, 12 Oct 2013 12:02:41 -0500 From: Scot Hetzel <swhetzel@gmail.com> To: Dewayne-remote <dewayne.geraghty@heuristicsystems.com.au> Cc: FreeBSD Ports <ports@freebsd.org> Subject: Re: cyrus-sasl2-saslauthd package failure. Message-ID: <CACdU%2Bf8-%2B5BW%2B8XcLLCUbKERW=D1yb3uZwZHJXtKq9D3ZimAdg@mail.gmail.com> In-Reply-To: <CACdU%2Bf_-HXkgjjmvDP4pZ1Onn2LtkpG2Zxe1jpOOLW0NtTxQ8Q@mail.gmail.com> References: <52590C07.9080805@heuristicsystems.com.au> <CACdU%2Bf_-HXkgjjmvDP4pZ1Onn2LtkpG2Zxe1jpOOLW0NtTxQ8Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I tried to add a .undef STAGEDIR to bsd.port.mk: > > --- /usr/ports/Mk.bsd.port.mk > +++ /usr/ports/Mk.bsd.port.mk > @@ -1932,6 +1932,8 @@ > .if !defined(NO_STAGE) > .include "${PORTSDIR}/Mk/bsd.stage.mk" > +.else > +.undef STAGEDIR +.if defined(STAGEDIR) +IGNORE= STAGEDIR defined on the command line, don't do that +.endif > .endif > This change catches the use of STAGEDIR defined on the command line and sets the IGNORE flag. But I still can't undefined STAGEDIR when it is defined on the command line. > The above works, if you put STAGEDIR into /etc/make.conf. > > # echo 'STAGEDIR=/stagetest' >> /etc/make.conf > # make -V STAGEDIR > > But it doesn't work if you define STAGEDIR with the make command: > > # make STAGEDIR=/stage -V STAGEDIR > /stage > > Does anyone know how to make this work? > > -- > DISCLAIMER: > > No electrons were maimed while sending this message. Only slightly bruised. -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf8-%2B5BW%2B8XcLLCUbKERW=D1yb3uZwZHJXtKq9D3ZimAdg>