mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
sed: remove conditional block for cross builds and rebuild.
This commit is contained in:
parent
50ee22fe0a
commit
ca5691d42c
1 changed files with 4 additions and 7 deletions
|
@ -1,9 +1,11 @@
|
||||||
# Template file for 'sed'
|
# Template file for 'sed'
|
||||||
|
LDFLAGS="-lacl"
|
||||||
|
|
||||||
pkgname=sed
|
pkgname=sed
|
||||||
version=4.2.2
|
version=4.2.2
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-acl"
|
configure_args="--enable-acl ac_cv_func_aclsort=yes"
|
||||||
makedepends="acl-devel"
|
makedepends="acl-devel"
|
||||||
conflicts="chroot-sed>=0"
|
conflicts="chroot-sed>=0"
|
||||||
short_desc="The GNU stream editor"
|
short_desc="The GNU stream editor"
|
||||||
|
@ -12,8 +14,3 @@ license="GPL-3"
|
||||||
homepage="http://www.gnu.org/software/sed"
|
homepage="http://www.gnu.org/software/sed"
|
||||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||||
checksum=fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff
|
checksum=fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
configure_args+=" ac_cv_func_aclsort=yes"
|
|
||||||
LDFLAGS="-L${XBPS_CROSS_BASE}/lib -lacl"
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue