mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
sed: cross build support.
This commit is contained in:
parent
f5df65977a
commit
34726bdf9a
1 changed files with 8 additions and 0 deletions
|
@ -4,10 +4,18 @@ version=4.2.2
|
||||||
revision=2
|
revision=2
|
||||||
conflicts="chroot-sed>=0"
|
conflicts="chroot-sed>=0"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--enable-acl"
|
||||||
makedepends="acl-devel"
|
makedepends="acl-devel"
|
||||||
|
crossmakedepends="acl-devel"
|
||||||
short_desc="The GNU stream editor"
|
short_desc="The GNU stream editor"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-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 [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||||
|
unset makedepends
|
||||||
|
configure_args="${configure_args} ac_cv_func_aclsort=yes"
|
||||||
|
LDFLAGS="-L/usr/$XBPS_CROSS_TRIPLET/lib -lacl"
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue