fakeroot: update to 1.23. (#644)

This commit is contained in:
maxice8 2018-07-06 15:35:25 -03:00 committed by cr6git
parent c32a4f76b8
commit fda040949e
2 changed files with 9 additions and 15 deletions

View file

@ -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 "$@"`

View file

@ -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 <xtraeme@voidlinux.eu>"
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