wok-6.x diff util-linux/receipt @ rev 12927
util-linux: cross-compile for ARM (and pack blkid/uuid)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 22:45:34 2012 +0000 (2012-05-29) |
parents | d35ad056f90e |
children | a579549edab7 |
line diff
1.1 --- a/util-linux/receipt Mon Apr 23 16:19:05 2012 +0200 1.2 +++ b/util-linux/receipt Tue May 29 22:45:34 2012 +0000 1.3 @@ -9,7 +9,7 @@ 1.4 TARBALL="$SOURCE-$VERSION.tar.xz" 1.5 WEB_SITE="http://kernel.org/~kzak/util-linux/" 1.6 WGET_URL="http://ftp.kernel.org/pub/linux/utils/util-linux/v2.21/$TARBALL" 1.7 -COOK_OPT="!fs" 1.8 +HOST_ARCH="i486 arm" 1.9 LOCALE="" 1.10 1.11 DEPENDS="" 1.12 @@ -19,6 +19,10 @@ 1.13 compile_rules() 1.14 { 1.15 cd $src 1.16 + # Fix undeclared 'LINE_MAX' 1.17 + case "$ARCH" in 1.18 + arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;; 1.19 + esac 1.20 ./configure \ 1.21 --prefix=/usr \ 1.22 --sysconfdir=/etc \