Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2012 09:56:49 +0100
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r308870 - head/Mk
Message-ID:  <CAHcdu2puhsbgVVhukrZJLCDKWmBLxRRjf%2BmrtZR1tvnGqnCHXQ@mail.gmail.com>
In-Reply-To: <201212132123.qBDLNqPp017369@svn.freebsd.org>
References:  <201212132123.qBDLNqPp017369@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I don't understand these 2 new options (I may have missed something).

SINGLE and MULTI are obsoletes or RADIO is equivalent to SINGLE.

2012/12/13 Baptiste Daroussin <bapt@freebsd.org>:
> Author: bapt
> Date: Thu Dec 13 21:23:52 2012
> New Revision: 308870
> URL: http://svnweb.freebsd.org/changeset/ports/308870
>
> Log:
>   Save RADIO and GROUP option in the pkgng manifest
>
>   Submitted by: bdrewery
>
> Modified:
>   head/Mk/bsd.pkgng.mk
>
> Modified: head/Mk/bsd.pkgng.mk
> ==============================================================================
> --- head/Mk/bsd.pkgng.mk        Thu Dec 13 19:06:44 2012        (r308869)
> +++ head/Mk/bsd.pkgng.mk        Thu Dec 13 21:23:52 2012        (r308870)
> @@ -100,8 +100,28 @@ fake-pkg:
>  .    endif
>  .  endfor
>  .endfor
> +.for radio in ${OPTIONS_RADIO}
> +.  for opt in ${OPTIONS_RADIO_${radio}}
> +.    if empty(PORT_OPTIONS:M${opt})
> +       @${ECHO_MSG} -n "${opt}: off, " >> ${MANIFESTF}
> +.    else
> +       @${ECHO_MSG} -n "${opt}: on, " >> ${MANIFESTF}
> +.    endif
> +.  endfor
> +.endfor
> +.for group in ${OPTIONS_GROUP}
> +.  for opt in ${OPTIONS_GROUP_${group}}
> +.    if empty(PORT_OPTIONS:M${opt})
> +       @${ECHO_MSG} -n "${opt}: off, " >> ${MANIFESTF}
> +.    else
> +       @${ECHO_MSG} -n "${opt}: on, " >> ${MANIFESTF}
> +.    endif
> +.  endfor
> +.endfor
>  .undef multi
>  .undef single
> +.undef radio
> +.undef group
>  .undef opt
>         @${ECHO_CMD} "}" >> ${MANIFESTF}
>         @[ -f ${PKGINSTALL} ] && ${CP} ${PKGINSTALL} ${METADIR}/+INSTALL; \



-- 
olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHcdu2puhsbgVVhukrZJLCDKWmBLxRRjf%2BmrtZR1tvnGqnCHXQ>