Fair enough, here a new version based on the last suggestion. Cheers.
On 5 January 2017 at 19:03, Jeremie Courreges-Anglas <j...@wxcvbn.org> wrote: > David CARLIER <devne...@gmail.com> writes: > >> ping ? >> >> :-) >> >> On 15 December 2016 at 16:30, David CARLIER <devne...@gmail.com> wrote: >>> Hi, >>> >>> naddy@ reported an hidden dependency for one binary, alsoft-config, >>> thus this small diff for who does not want to bear the qt4 compilation :-) > > I don't think that a FLAVOR is the right way to deal with this. If you > really want to make this optional, put alsoft-config in a -gui > SUBPACKAGE and add a no_gui pseudo-flavor ("gui" or any other name you > think makes sense). > > Or just unconditionally disable alsoft-config... which should probably > be done as a first step, see patch below. > > Regarding your diff, REVISION starts at 0. > > > Index: Makefile > =================================================================== > RCS file: /d/cvs/ports/audio/openal/Makefile,v > retrieving revision 1.39 > diff -u -p -p -u -r1.39 Makefile > --- Makefile 3 Nov 2016 10:27:15 -0000 1.39 > +++ Makefile 5 Jan 2017 18:59:51 -0000 > @@ -44,7 +44,8 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB > -DALSOFT_BACKEND_QSA=Off \ > -DALSOFT_BACKEND_SOLARIS=Off \ > -DALSOFT_BACKEND_WAVE=Off \ > - -DALSOFT_BACKEND_WINMM=Off > + -DALSOFT_BACKEND_WINMM=Off \ > + -DALSOFT_NO_CONFIG_UTIL=On > > MODULES = devel/cmake lang/clang > MODCLANG_ARCHS = * > > -- > jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
Index: Makefile =================================================================== RCS file: /cvs/ports/audio/openal/Makefile,v retrieving revision 1.39 diff -u -p -r1.39 Makefile --- Makefile 3 Nov 2016 10:27:15 -0000 1.39 +++ Makefile 5 Jan 2017 22:36:21 -0000 @@ -12,6 +12,7 @@ DISTNAME = openal-soft-$V PKGNAME = openal-$V CATEGORIES = audio SHARED_LIBS = openal 2.2 +REVISION = 0 HOMEPAGE = http://kcat.strangesoft.net/openal.html @@ -44,7 +45,8 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB -DALSOFT_BACKEND_QSA=Off \ -DALSOFT_BACKEND_SOLARIS=Off \ -DALSOFT_BACKEND_WAVE=Off \ - -DALSOFT_BACKEND_WINMM=Off + -DALSOFT_BACKEND_WINMM=Off \ + -DALSOFT_NO_CONFIG_UTIL=On MODULES = devel/cmake lang/clang MODCLANG_ARCHS = *