svn commit: r452173 - head/mail/sa-utils

Adam Weinberger adamw at adamw.org
Mon Oct 16 12:25:32 UTC 2017


> On 16 Oct, 2017, at 0:18, Matthew Seaman <matthew at freebsd.org> wrote:
> 
> Author: matthew
> Date: Mon Oct 16 06:18:55 2017
> New Revision: 452173
> URL: https://svnweb.freebsd.org/changeset/ports/452173
> 
> Log:
>  Switch to options helpers
> 
> Modified:
>  head/mail/sa-utils/Makefile
> 

Hi Matthew,

This:
> +OPTIONS_SUB=	yes

Is not the same as this:
> -.if ${PORT_OPTIONS:MSACOMPILE}
> -SUB_LIST+=	SACOMPILE=YES
> -.else
> -SUB_LIST+=	SACOMPILE=NO

SUB_LIST applies to the subbed files in files/, in this case files/sa-utils.in. OPTIONS_SUB applies to pkg-plist.

You can still do:

SACOMPILE_SUB_LIST=	SACOMPILE=YES
SACOMPILE_SUB_LIST_OFF=	SACOMPILE=NO

# Adam


-- 
Adam Weinberger
adamw at adamw.org
https://www.adamw.org



More information about the svn-ports-all mailing list