sed: cross build support.
This commit is contained in:
parent
f5df65977a
commit
34726bdf9a
|
@ -4,10 +4,18 @@ version=4.2.2
|
|||
revision=2
|
||||
conflicts="chroot-sed>=0"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-acl"
|
||||
makedepends="acl-devel"
|
||||
crossmakedepends="acl-devel"
|
||||
short_desc="The GNU stream editor"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-3"
|
||||
homepage="http://www.gnu.org/software/sed"
|
||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||
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…
Reference in New Issue