diff --git a/srcpkgs/fakeroot/patches/busybox_compat_force_abslibpath.patch b/srcpkgs/fakeroot/patches/busybox_compat_force_abslibpath.patch index 3637978d503..2bd1b4129bd 100644 --- a/srcpkgs/fakeroot/patches/busybox_compat_force_abslibpath.patch +++ b/srcpkgs/fakeroot/patches/busybox_compat_force_abslibpath.patch @@ -12,12 +12,3 @@ LIB=lib@fakeroot_transformed@@DLSUFFIX@ PATHS=@libdir@:${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot FAKED=${FAKEROOT_BINDIR}/@faked_transformed@ -@@ -43,7 +43,7 @@ export FAKED_MODE - - libfound=no - --GETOPTEST=`getopt --version` -+GETOPTEST=`getopt --version 2>/dev/null` - case $GETOPTEST in - getopt*) # GNU getopt - FAKE_TEMP=`getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh "$@"` diff --git a/srcpkgs/fakeroot/template b/srcpkgs/fakeroot/template index 248cd8610d5..940d5cc6296 100644 --- a/srcpkgs/fakeroot/template +++ b/srcpkgs/fakeroot/template @@ -1,18 +1,20 @@ # Template file for 'fakeroot' pkgname=fakeroot -version=1.22 +version=1.23 revision=1 -lib32disabled=yes build_style=gnu-configure +configure_args="--disable-static" hostmakedepends="automake libtool" makedepends="acl-devel libcap-devel" -configure_args="--disable-static" short_desc="Gives a fake root environment" maintainer="Juan RP " +license="GPL-3.0-or-later" homepage="http://packages.debian.org/fakeroot" -license="GPL-3" -distfiles="${DEBIAN_SITE}/main/f/fakeroot/${pkgname}_${version}.orig.tar.bz2" -checksum=bd806a4a1e641203eb3d4571a10089e8a038c10ec7e492fa1e061b03ae3ec6fe +distfiles="${DEBIAN_SITE}/main/f/fakeroot/${pkgname}_${version}.orig.tar.xz" +checksum=009cd6696a931562cf1c212bb57ca441a4a2d45cd32c3190a35c7ae98506f4f6 + +lib32disabled=yes + case "$XBPS_TARGET_MACHINE" in *-musl) CFLAGS="-D_STAT_VER=0" ;; esac @@ -21,6 +23,7 @@ pre_configure() { sed -i /SUBDIRS/d doc/Makefile.am sh ./bootstrap } + post_install() { # Use /bin/sh shebang. sed -i -e "s|^#!/bin/bash$|#!/bin/sh|" ${DESTDIR}/usr/bin/fakeroot