wok-next diff glibc/receipt @ rev 19584

Up openssl (1.0.2j)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 02 09:22:45 2017 +0200 (2017-01-02)
parents 12dc3b9e499d
children 7387df590f12
line diff
     1.1 --- a/glibc/receipt	Mon Dec 26 10:36:28 2016 +0200
     1.2 +++ b/glibc/receipt	Mon Jan 02 09:22:45 2017 +0200
     1.3 @@ -14,7 +14,7 @@
     1.4  DEPENDS="glibc-base glibc-locale glibc-dev"
     1.5  BUILD_DEPENDS="linux-api-headers autoconf bash advancecomp gawk gettext bison \
     1.6  texinfo"
     1.7 -SPLIT="glibc-base glibc-locale-glibc-dev"
     1.8 +SPLIT="glibc-base glibc-locale glibc-dev"
     1.9  
    1.10  # Rules to compile & install the temporary toolchain.
    1.11  cook_tmp_toolchain()
    1.12 @@ -83,6 +83,7 @@
    1.13  		$src/configure \
    1.14  			--disable-profile \
    1.15  			--enable-add-ons \
    1.16 +			--enable-obsolete-rpc \
    1.17  			--enable-kernel=2.6.32 \
    1.18  			--libexecdir=/usr/lib/glibc \
    1.19  			--build=$HOST_SYSTEM \
    1.20 @@ -91,16 +92,18 @@
    1.21  		make -j1 && make install_root=$DESTDIR install
    1.22  	} || return 1
    1.23  
    1.24 -	action 'Recompress charmaps...'
    1.25 -	local size0=$(ls -l $install/usr/share/i18n/charmaps/*.gz | awk '{s+=$5}END{print s}')
    1.26 -	local time0=$(date +%s)
    1.27 -	for i in $install/usr/share/i18n/charmaps/*.gz; do
    1.28 -		advdef -z4q $i
    1.29 -	done
    1.30 -	local size1=$(ls -l $install/usr/share/i18n/charmaps/*.gz | awk '{s+=$5}END{print s}')
    1.31 -	local time1=$(date +%s)
    1.32 -	status
    1.33 -	comp_summary "$time0" "$time1" "$size0" "$size1"
    1.34 +	if [ -n "$(which advdef)" ]; then
    1.35 +		action 'Recompress charmaps...'
    1.36 +		local size0=$(ls -l $install/usr/share/i18n/charmaps/*.gz | awk '{s+=$5}END{print s}')
    1.37 +		local time0=$(date +%s)
    1.38 +		for i in $install/usr/share/i18n/charmaps/*.gz; do
    1.39 +			advdef -z4q $i
    1.40 +		done
    1.41 +		local size1=$(ls -l $install/usr/share/i18n/charmaps/*.gz | awk '{s+=$5}END{print s}')
    1.42 +		local time1=$(date +%s)
    1.43 +		status
    1.44 +		comp_summary "$time0" "$time1" "$size0" "$size1"
    1.45 +	fi
    1.46  
    1.47  	# If temporary toolchain was previously used, switch to regular toolchain.
    1.48  	if [ -d /tools ]; then