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

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
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/ $//')"