svn commit: r517341 - head/x11-wm/e16
Alexey Dokuchaev
danfe at freebsd.org
Wed Nov 13 09:34:06 UTC 2019
On Wed, Nov 13, 2019 at 10:25:34AM +0100, Tobias Kortkamp wrote:
> On Tue, Nov 12, 2019 at 05:00:41PM +0000, Pietro Cerutti wrote:
> > Author: gahr
> > Date: Tue Nov 12 17:00:40 2019
> > New Revision: 517341
> > URL: https://svnweb.freebsd.org/changeset/ports/517341
> >
> > Log:
> > x11-wm/e16: update to 1.0.21, rework OPTIONS
> >
> > ...
> > -OPTIONS_DEFINE= DOCS NLS PANGO SOUND
> > +OPTIONS_DEFINE= DOCS NLS PANGO
> > +OPTIONS_RADIO= SOUND SOUNDLOADER
> > +OPTIONS_RADIO_SOUND= PULSEAUDIO SNDIO
> > +OPTIONS_RADIO_SOUNDLOADER= SNDFILE AUDIOFILE
> > OPTIONS_SUB= yes
> > ...
> > +# Double check SOUND and SOUNDLOADER
> > +E16_SOUND= ${PORT_OPTIONS:MPULSEAUDIO}${PORT_OPTIONS:MSNDIO}
> > +E16_SNDLDR= ${PORT_OPTIONS:MSNDFILE}${PORT_OPTIONS:MAUDIOFILE}
> > +.if !empty(E16_SOUND) && empty(E16_SNDLDR)
> > +IGNORE= sound support requires a sound loader
> > +.endif
> > +.if empty(E16_SOUND) && !empty(E16_SNDLDR)
> > +IGNORE= sound loader only makes sense with sound support
> > +.endif
>
> could you please look this over again:
>
> - USES is set twice which does not make sense
> - None of the *_CONFIGURE_{ENABLE,OFF,ON} or *_USES helpers do anything
> since CONFIGURE_ARGS and USES are overwritten again after including
> bsd.port.options.mk.
The entire "rework OPTIONS" code is a mess and should be fixed for good.
Perhaps Pietro might want to find an extra pair of eyes to review his work
prior to committing, or at leaset rehash /usr/ports/Mk/bsd.options.mk.
./danfe
More information about the svn-ports-all
mailing list