diff --git a/srcpkgs/xmlrpc-c/template b/srcpkgs/xmlrpc-c/template index 6dffb0756a4..95bf215aed1 100644 --- a/srcpkgs/xmlrpc-c/template +++ b/srcpkgs/xmlrpc-c/template @@ -1,7 +1,7 @@ # Template file for 'xmlrpc-c' pkgname=xmlrpc-c version=1.25.30 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-libxml2-backend --enable-cplusplus --disable-cgi-server --disable-libwww-client --disable-wininet-client" @@ -20,11 +20,18 @@ disable_parallel_build=yes pre_configure() { sed 's,XMLRPC_ABYSS_EXPORTED,XMLRPC_DLLEXPORT,g' -i include/xmlrpc-c/abyss.h } +post_configure() { + case "$XBPS_TARGET_MACHINE" in + *-musl) # Enable linux-gnu configuration for shlibs + sed -e "s;linux-gnu;linux-musl;g" -i ${wrksrc}/config.mk + esac +} xmlrpc-c-devel_package() { short_desc+=" - development files" depends="${makedepends} ${sourcepkg}>=${version}_${revision}" pkg_install() { + local shlib vmove usr/bin vmove usr/include vmove usr/lib/*.a