summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2017-08-30 19:40:14 +0000
committeremaste <emaste@FreeBSD.org>2017-08-30 19:40:14 +0000
commit186c9c75fd38bab5be9510fa0eb56013b31e95fa (patch)
treee45e19b040dfa35cfbf8bcc3528a23e801c547ea
parent70c31557335f9b1a247f34395bfc2320001a0064 (diff)
downloadFreeBSD-ports-186c9c75fd38bab5be9510fa0eb56013b31e95fa.zip
FreeBSD-ports-186c9c75fd38bab5be9510fa0eb56013b31e95fa.tar.gz
audio/openal-soft: set LLD_UNSAFE
Linking with LLD currently fails due to preemption of symbols with protected visibility in a shared object: /usr/bin/ld: error: cannot preempt symbol: alIsExtensionPresent >>> defined in libopenal.so.1.18.0 >>> referenced by examples/altonegen.c >>> CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main) /usr/bin/ld: error: cannot preempt symbol: alcGetCurrentContext >>> defined in libopenal.so.1.18.0 >>> referenced by examples/altonegen.c >>> CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main) /usr/bin/ld: error: cannot preempt symbol: alcGetContextsDevice >>> defined in libopenal.so.1.18.0 >>> referenced by examples/altonegen.c >>> CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main) ... (Ports that depend on audio/openal-soft may also need to be tagged with LLD_UNSAFE.) PR: 219089 Approved by: kwm Sponsored by: The FreeBSD Foundation
-rw-r--r--audio/openal-soft/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile
index 5c175b5..9974884 100644
--- a/audio/openal-soft/Makefile
+++ b/audio/openal-soft/Makefile
@@ -16,6 +16,7 @@ CONFLICTS= openal-200[0-9]*
USES= tar:bzip2 cmake compiler:c11
USE_LDCONFIG= yes
+LLD_UNSAFE= yes
CMAKE_ARGS= -DSHARE_INSTALL_DIR:STRING=${ETCDIR} \
-DALSOFT_REQUIRE_OSS:BOOL=OFF \
-DALSOFT_REQUIRE_JACK:BOOL=OFF \
OpenPOWER on IntegriCloud