xmlrpc-c: fix config file prefix path
authorRosen Penev <rosenp@gmail.com>
Thu, 10 Dec 2020 09:47:49 +0000 (01:47 -0800)
committerRosen Penev <rosenp@gmail.com>
Thu, 10 Dec 2020 09:51:05 +0000 (01:51 -0800)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/xmlrpc-c/Makefile

index 0d3cb9f16cc484e63a9f0ebc78f083382d3bc78c..bb564fbea4cda88ef8033024627f31d78c6cf615 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=xmlrpc-c
 PKG_VERSION:=1.51.06
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=@SF/xmlrpc-c/Xmlrpc-c%20Super%20Stable/$(PKG_VERSION)
@@ -137,6 +137,7 @@ define Build/InstallDev
        $(INSTALL_BIN) \
                $(PKG_INSTALL_DIR)/usr/bin/xmlrpc-c-config \
                $(2)/bin/
+       $(SED) 's,PREFIX="/usr",PREFIX="$(STAGING_DIR)/usr",g' $(2)/bin/xmlrpc-c-config
        $(SED) \
                's,HEADERINST_DIR="/usr/include",HEADERINST_DIR="$(STAGING_DIR)/usr/include",g' \
                $(2)/bin/xmlrpc-c-config