cyrus-sasl2-saslauthd package failure.

Scot Hetzel swhetzel at gmail.com
Sat Oct 12 17:02:42 UTC 2013


> 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.


More information about the freebsd-ports mailing list