Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2024 02:04:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277754] audio/sox: fixes to make options work properly
Message-ID:  <bug-277754-7788-FqLsWGZuOI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277754-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277754-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277754

--- Comment #2 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
(In reply to Dan Nelson from comment #1)

This method has a maximum sequence of the following arguments
--disable-mp3 --with-lame --enable-mp3 --with-mad --enable-mp3 --with-twola=
me
--enable-mp3
It then takes advantage of the fact that the last --{enable,disable}-mp3 is
adopted from among them.

If that method is not adopted, the following part would be needed

.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLAME} || ${PORT_OPTIONS:MMAD} || ${PORT_OPTIONS:MTWOLAM=
E}
CONFIGURE_ARGS+=3D --enable-mp3
.else
CONFIGURE_ARGS+=3D --disable-mp3
.endif

These are better if the preferred method is adopted.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277754-7788-FqLsWGZuOI>