On Mon Oct 30, 2017 at 08:07:07AM +0000, David CARLIER wrote: > Here an an updated version. > > Kind regards. > > On 30 October 2017 at 07:27, Rafael Sadowski <raf...@sizeofvoid.org> wrote: > > > On Fri Oct 13, 2017 at 10:57:09PM +0100, David CARLIER wrote: > > > Hi, > > > > > > there is a small update of this port. > > > > > > Hope it s good. > > > > > > Regards. > > > > Some comments below. > > > > make configure: > > > > CMake Warning: > > Manually-specified variables were not used by the project: > > > > ALSOFT_BACKEND_ALSA > > ALSOFT_BACKEND_COREAUDIO > > ALSOFT_BACKEND_DSOUND > > ALSOFT_BACKEND_MMDEVAPI > > ALSOFT_BACKEND_OPENSL > > ALSOFT_BACKEND_OSS > > ALSOFT_BACKEND_PORTAUDIO > > ALSOFT_BACKEND_QSA > > ALSOFT_BACKEND_WINMM > > ALSOFT_CONFIG_DESTINATION > > ALSOFT_SYSCONFDIR > > > > and CMake fetch Qt4, what we should try to avoid. > > > > COMPILER = clang gcc > > # clang fails on those architectures > > MODGCC4_ARCHS = sparc64 powerpc > > MODCLANG_ARCHS = aarch64 amd64 arm i386 mips64 mips64el > > > > can be replaced with: > > > > COMPILER = base-clang ports-clang ports-gcc > > > >
> Index: Makefile > =================================================================== > RCS file: /cvs/ports/audio/openal/Makefile,v > retrieving revision 1.48 > diff -u -p -r1.48 Makefile > --- Makefile 18 Aug 2017 12:47:58 -0000 1.48 > +++ Makefile 30 Oct 2017 08:06:00 -0000 > @@ -4,13 +4,12 @@ BROKEN-hppa = undefined reference to __s > > COMMENT = cross-platform 3D audio API > > -V = 1.16.0 > +V = 1.17.2 > EPOCH = 0 > DISTNAME = openal-soft-$V > PKGNAME = openal-$V > CATEGORIES = audio > -SHARED_LIBS = openal 2.2 > -REVISION = 1 > +SHARED_LIBS = openal 3.0 > > HOMEPAGE = http://kcat.strangesoft.net/openal.html > > @@ -25,33 +24,18 @@ MASTER_SITES = ${HOMEPAGE:S,.html,-relea > EXTRACT_SUFX = .tar.bz2 > > CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenBSD \ > - -DALSOFT_SYSCONFDIR=${SYSCONFDIR} \ > - -DALSOFT_CONFIG_DESTINATION=share/examples/openal \ > + -DALSOFT_CONFIG=share/examples/openal \ > -DALSOFT_DLOPEN=Off \ > -DALSOFT_UTILS=On \ > -DALSOFT_EXAMPLES=Off \ > -DALSOFT_REQUIRE_SNDIO=On \ > - -DALSOFT_BACKEND_ALSA=Off \ > - -DALSOFT_BACKEND_COREAUDIO=Off \ > - -DALSOFT_BACKEND_DSOUND=Off \ > - -DALSOFT_BACKEND_JACK=Off \ > - -DALSOFT_BACKEND_MMDEVAPI=Off \ > - -DALSOFT_BACKEND_OPENSL=Off \ > - -DALSOFT_BACKEND_OSS=Off \ > - -DALSOFT_BACKEND_PORTAUDIO=Off \ > - -DALSOFT_BACKEND_PULSEAUDIO=Off \ > - -DALSOFT_BACKEND_QSA=Off \ > -DALSOFT_BACKEND_SOLARIS=Off \ > - -DALSOFT_BACKEND_WAVE=Off \ > - -DALSOFT_BACKEND_WINMM=Off \ > + -DALSOFT_BACKEND_PULSEAUDIO=Off \ > -DALSOFT_NO_CONFIG_UTIL=On > This is too easy! We want to avoid using these libs. CMake searches for them during the configuration and that's to be prevented.