wok-next diff lua5.1/receipt @ rev 20717

pcmanfm-legacy: use patch
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:00:58 2018 +0300 (2018-05-27)
parents 0c003fc18957
children 618256f7a332
line diff
     1.1 --- a/lua5.1/receipt	Mon Mar 12 00:04:19 2018 +0100
     1.2 +++ b/lua5.1/receipt	Sun May 27 15:00:58 2018 +0300
     1.3 @@ -20,7 +20,12 @@
     1.4  	sed -i "s#/include#/include/lua/5.1#g"          etc/lua.pc
     1.5  	sed -i "s#/usr/local/#/usr/#"                   src/luaconf.h
     1.6  	sed -i "s#share/lua/5.1/#lib/lua/5.1/#"         src/luaconf.h
     1.7 -	sed -i s"/-O2/-Os -march=$ARCH/"                src/Makefile
     1.8 +
     1.9 +	case $ARCH in
    1.10 +		x86_64) Arch='nocona';;
    1.11 +		*)      Arch="$ARCH";;
    1.12 +	esac
    1.13 +	sed -i s"/-O2/-Os -march=$Arch/"                src/Makefile
    1.14  
    1.15  	make linux &&
    1.16  	make install \