[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1017948: libcaca FTCBFS: configure.ac breaks pkg-config



Source: libcaca
Version: 0.99.beta20-2
User: debian-cross@lists.debian.org
Usertags: ftcbfs

libcaca fails to cross build from source, because configure.ac exports
PKG_CONFIG_LIBDIR. Doing so breaks the cross pkg-config as it assumes
that PKG_CONFIG_LIBDIR will contain the desired locations, but libcaca
simply sets it to /dev/null. Please consider applying the attached patch
to fix this regression.

Helmut
--- libcaca-0.99.beta20.orig/configure.ac
+++ libcaca-0.99.beta20/configure.ac
@@ -40,9 +40,6 @@
 AC_EGREP_CPP(yes, foo)
 PKG_PROG_PKG_CONFIG()
 m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
-if test "${build}" != "${host}" -a "${PKG_CONFIG_LIBDIR}" = ""; then
-  export PKG_CONFIG_LIBDIR=/dev/null
-fi
 
 AC_MSG_CHECKING(for suffix of libraries)
 case "$shrext_cmds" in

Reply to: