openbsd-ports/multimedia/xine-lib/patches/patch-configure_ac
ajacoutot b7fec019a2 Bugfix update to xine-lib-1.1.20.1.
from Brad (maintainer)
2012-01-05 08:52:26 +00:00

29 lines
1.5 KiB
Plaintext

$OpenBSD: patch-configure_ac,v 1.10 2012/01/05 08:52:26 ajacoutot Exp $
--- configure.ac.orig Sun Jan 1 12:30:52 2012
+++ configure.ac Sun Jan 1 17:19:01 2012
@@ -558,9 +558,9 @@ t q
b
:q
q"
-x_lib_location="`ls -1 "${x_libraries:-/usr/local/lib}/libX11.so"* "${x_libraries:-/usr/lib}/libX11.so"* 2>/dev/null | sed -e \"${soname_script}\"`"
+x_lib_location="`ls -1 "${x_libraries:-/usr/local/lib}/libX11.so"* "${x_libraries:-/usr/lib}/libX11.so"* 2>/dev/null | sed 1q`"
AC_DEFINE_UNQUOTED([LIBX11_SO], "${x_lib_location:-libX11.so}", [The soname of libX11, needed for dlopen()])
-x_lib_location="`ls -1 "${x_libraries:-/usr/local/lib}/libXv.so"* "${x_libraries:-/usr/lib}/libXv.so"* 2>/dev/null | sed -e \"${soname_script}\"`"
+x_lib_location="`ls -1 "${x_libraries:-/usr/local/lib}/libXv.so"* "${x_libraries:-/usr/lib}/libXv.so"* 2>/dev/null | sed 1q`"
AC_DEFINE_UNQUOTED([LIBXV_SO], "${x_lib_location:-libXv.so}", [The soname of libXv, needed for dlopen()])
@@ -1395,9 +1395,10 @@ if test "x$with_mng" = "xyes"; then
AC_CHECK_LIB(mng, mng_initialize,
[ AC_CHECK_HEADER(libmng.h,
[ have_libmng=yes
- MNG_LIBS="-lmng" ],
+ MNG_LIBS="-lmng -llcms -ljpeg -lz -lm" ],
AC_MSG_RESULT([*** All libmng dependent parts will be disabled ***]))],
- AC_MSG_RESULT([*** All libmng dependent parts will be disabled ***]))
+ AC_MSG_RESULT([*** All libmng dependent parts will be disabled ***]),
+ [-llcms -ljpeg -lz -lm])
AC_SUBST(MNG_LIBS)
else
have_libmng=no