From: Rosen Penev Date: Wed, 29 Jul 2020 03:47:22 +0000 (-0700) Subject: zmq: fix pkgconfig file X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=5bb13435b74c276b676e0561984cb37e4a74ca1d;p=feed%2Fpackages.git zmq: fix pkgconfig file It seems upstream broke it. This in turn broke depending packages. Signed-off-by: Rosen Penev --- diff --git a/libs/zmq/Makefile b/libs/zmq/Makefile index 2e9778429b..1754af8801 100644 --- a/libs/zmq/Makefile +++ b/libs/zmq/Makefile @@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=zeromq PKG_VERSION:=4.3.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/zeromq/libzmq/releases/download/v$(PKG_VERSION) @@ -91,6 +91,8 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/libzmq.so* $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libzmq.pc $(1)/usr/lib/pkgconfig/ + $(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libzmq.pc + $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/libzmq.pc endef define Package/libzmq-nc/install