libzip: fix typo in patch (fixes #15992)
authorMichael Heimpold <mhei@heimpold.de>
Fri, 2 Jul 2021 21:55:45 +0000 (23:55 +0200)
committerMichael Heimpold <mhei@heimpold.de>
Fri, 2 Jul 2021 21:59:53 +0000 (23:59 +0200)
This prevented expansion of libdir in pkgconfig.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
libs/libzip/Makefile
libs/libzip/patches/0001-Try-having-relative-paths-in-pkg-config-file.patch

index 15c39548edc1b3f10870aed3be7964aac8816686..6d3f04a2031011cf328fb19fb61f6f5016be83aa 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libzip
 PKG_VERSION:=1.8.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://libzip.org/download/
index b6d69020b691bade9d15bd0dd0180e17613bd7f1..e49b6ab8249a70e9450688e36015235702e1cd5b 100644 (file)
@@ -23,7 +23,7 @@ Addresses #248
 +file(RELATIVE_PATH pc_relative_bindir ${CMAKE_INSTALL_PREFIX} ${CMAKE_INSTALL_FULL_BINDIR})
 +set(bindir "\${prefix}/${pc_relative_bindir}")
 +file(RELATIVE_PATH pc_relative_libdir ${CMAKE_INSTALL_PREFIX} ${CMAKE_INSTALL_FULL_LIBDIR})
-+set(libdir "\${prefix)/${pc_relative_libdir}")
++set(libdir "\${prefix}/${pc_relative_libdir}")
 +file(RELATIVE_PATH pc_relative_includedir ${CMAKE_INSTALL_PREFIX} ${CMAKE_INSTALL_FULL_INCLUDEDIR})
 +set(includedir "\${prefix}/${pc_relative_includedir}")
  if(CMAKE_SYSTEM_NAME MATCHES BSD)