chroot-findutils: remove charset.alias if exists.
This commit is contained in:
parent
0b21224b0b
commit
e163a1e3ee
1 changed files with 7 additions and 5 deletions
|
@ -1,8 +1,11 @@
|
||||||
# Template file for 'chroot-diffutils'
|
# Template file for 'chroot-diffutils'
|
||||||
pkgname=chroot-diffutils
|
pkgname=chroot-diffutils
|
||||||
version=3.2
|
version=3.2
|
||||||
|
revision=3
|
||||||
wrksrc="diffutils-${version}"
|
wrksrc="diffutils-${version}"
|
||||||
revision=2
|
bootstrap=yes
|
||||||
|
conflicts="diffutils>=0"
|
||||||
|
provides="diffutils-${version}_${revision}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-nls ac_cv_libsigsegv=/bin/false"
|
configure_args="--disable-nls ac_cv_libsigsegv=/bin/false"
|
||||||
short_desc="The GNU diff utilities -- for xbps-src use"
|
short_desc="The GNU diff utilities -- for xbps-src use"
|
||||||
|
@ -12,14 +15,13 @@ license="GPL-3"
|
||||||
distfiles="${GNU_SITE}/diffutils/diffutils-$version.tar.xz"
|
distfiles="${GNU_SITE}/diffutils/diffutils-$version.tar.xz"
|
||||||
checksum=ab4fb75d0ef35f3c8c9a148cd3526ba6f4db71d10467a041eb45006436079149
|
checksum=ab4fb75d0ef35f3c8c9a148cd3526ba6f4db71d10467a041eb45006436079149
|
||||||
|
|
||||||
bootstrap=yes
|
|
||||||
conflicts="diffutils>=0"
|
|
||||||
provides="diffutils-${version}"
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i -e '/gets is a/d' lib/stdio.in.h
|
sed -i -e '/gets is a/d' lib/stdio.in.h
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/share
|
rm -rf ${DESTDIR}/usr/share
|
||||||
|
if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then
|
||||||
|
rm -f ${DESTDIR}/usr/lib/charset.alias
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue