From da1f11092861394d5b932d02d9e1ef2a6ff2a93c Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 22 Aug 2017 16:13:41 -0400 Subject: [PATCH 5/5] audio/freealut: set LLD_UNSAFE /usr/bin/ld: error: cannot preempt symbol: alGenSources >>> defined in /usr/local/lib/libopenal.so >>> referenced by hello_world.c >>> hello_world.o:(main) /usr/bin/ld: error: cannot preempt symbol: alSourcei >>> defined in /usr/local/lib/libopenal.so >>> referenced by hello_world.c >>> hello_world.o:(main) /usr/bin/ld: error: cannot preempt symbol: alSourcePlay >>> defined in /usr/local/lib/libopenal.so >>> referenced by hello_world.c >>> hello_world.o:(main) PR: 219718 --- audio/freealut/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/audio/freealut/Makefile b/audio/freealut/Makefile index 4721537751f8..5ffc52874160 100644 --- a/audio/freealut/Makefile +++ b/audio/freealut/Makefile @@ -16,6 +16,7 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USES= gmake libtool openal:al pathfix pkgconfig USE_LDCONFIG= yes +LLD_UNSAFE= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -- 2.13.2