wok-next view libgphoto2/stuff/patches/libgphoto2-pc.patch @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents
children
line source
1 After the substitution made by autoconf in the libgphoto2_port.pc file
2 variable `driverdir` defined as:
3 driverdir=$(libdir)/$(PACKAGE_TARNAME)/$(VERSION)
4 making this variable in the .pc file unusable.
6 --- a/libgphoto2_port/configure.ac
7 +++ b/libgphoto2_port/configure.ac
8 @@ -459,7 +459,7 @@
9 IOLIB_LTLIST="${IOLIB_LTLIST} ${x}.la"
10 done
11 AC_SUBST(IOLIB_LTLIST)
12 -AC_SUBST([iolibdir],["\$(libdir)/\$(PACKAGE_TARNAME)/\$(VERSION)"])
13 +AC_SUBST([iolibdir],["\${libdir}/libgphoto2_port/\${VERSION}"])
14 AM_CPPFLAGS="$AM_CPPFLAGS -DIOLIBS=\\\"${iolibdir}\\\""
16 sorted_iolib_list="$(echo "${IOLIB_LIST}" | tr ' ' '\n' | sort | ${SED} '/^$/d' | tr '\n' ' ' | ${SED} 's/ $//')"