When compiling audio/openal-soft I get an link-error: ---CUT--- Building C object CMakeFiles/alstream.dir/examples/alstream.o .[0mIn file included from /usr/ports/audio/openal-soft/work/openal-soft-1.14/examples/alffmpeg.h:9, from /usr/ports/audio/openal-soft/work/openal-soft-1.14/examples/alstream.c:38: /usr/local/include/libavformat/avformat.h:158: warning: 'AVMetadata' is deprecated .[31m.[1mLinking C executable alstream .[0m/usr/bin/ld: cannot find -lavcodec *** Error code 1 Stop in /usr/ports/audio/openal-soft/work/openal-soft-1.14. *** Error code 1 ---cut--- ldconfig shows me 595:-lavcodec.1 => /usr/local/lib/libavcodec.so.1 and `ls -laF /usr/local/lib/libavcodec*|cut -c 48-' shows: /usr/local/lib/libavcodec.a /usr/local/lib/libavcodec.so@ -> libavcodec.so.52.123.0 /usr/local/lib/libavcodec.so.1@ -> libavcodec.so.52.123.0 /usr/local/lib/libavcodec.so.52.123.0* I admit, I do not know, why ldconfig does not present `-lavcodec' too. Fix: Deaktivating the generation of the examples by adding `-DEXAMPLES:BOOL=OFF' to `CMAKE_ARGS' in the port's Makefile lets us compile again. I know, this is no real solution to the problem. Patch attached with submission follows: How-To-Repeat: cd /usr/ports/audio/openal-soft make
Responsible Changed From-To: freebsd-ports-bugs->mva Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed. Thanks!
mva 2012-04-22 07:53:15 UTC FreeBSD ports repository Modified files: audio/openal-soft Makefile Log: - Unbreak build, if ffmpeg is installed. PR: 167177 Submitted by: Kalten <kalten@gmx.at> Revision Changes Path 1.17 +1 -1 ports/audio/openal-soft/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"