From d24c985b764b06e949a673e11b1789b2316a7e76 Mon Sep 17 00:00:00 2001 From: Steve Prybylski Date: Sun, 23 Aug 2015 21:29:36 -0400 Subject: [PATCH] slim: fix musl --- srcpkgs/slim/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/slim/template b/srcpkgs/slim/template index 14d37fdda44..b712a8a2a49 100644 --- a/srcpkgs/slim/template +++ b/srcpkgs/slim/template @@ -1,7 +1,7 @@ # Template file for 'slim' pkgname=slim version=1.3.6 -revision=9 +revision=10 lib32disabled=yes build_style=cmake configure_args="-DUSE_CONSOLEKIT=1 -DUSE_PAM=yes @@ -17,10 +17,15 @@ homepage="http://sourceforge.net/projects/slim.berlios/" distfiles="${SOURCEFORGE_SITE}/${pkgname}.berlios/${pkgname}-${version}.tar.gz" checksum=21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df +case "$XBPS_ARCH" in + *-musl) CXXFLAGS="-DNEEDS_BASENAME" +esac + pre_configure() { sed -i 's|set(LIBDIR "/lib")|set(LIBDIR "/usr/lib")|' CMakeLists.txt } post_install() { vsv slim vinstall ${FILESDIR}/slim.pam 644 etc/pam.d slim + rm -rf ${DESTDIR}/usr/lib/systemd }