wok rev 17505

xterm, w3m, mp: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 08 11:53:17 2015 +0100 (2015-01-08)
parents 1f57a2d79cf7
children daaed416b749
files mp/receipt w3m/receipt xterm/receipt
line diff
     1.1 --- a/mp/receipt	Thu Jan 08 11:25:22 2015 +0100
     1.2 +++ b/mp/receipt	Thu Jan 08 11:53:17 2015 +0100
     1.3 @@ -16,7 +16,7 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8 +	export LDFLAGS="-Wl,--copy-dt-needed-entries"
     1.9  	mkdir -p $DESTDIR/usr/bin
    1.10  	sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c
    1.11  	./config.sh \
     2.1 --- a/w3m/receipt	Thu Jan 08 11:25:22 2015 +0100
     2.2 +++ b/w3m/receipt	Thu Jan 08 11:53:17 2015 +0100
     2.3 @@ -17,9 +17,9 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -       cd $src
     2.8 -       for i in  $stuff/*.patch
     2.9 -       do
    2.10 +	export LDFLAGS="-Wl,--copy-dt-needed-entries"
    2.11 +	for i in  $stuff/*.patch
    2.12 +	do
    2.13  	        if [ -f done.$(basename $i) ]; then
    2.14  		       continue
    2.15  	        else
     3.1 --- a/xterm/receipt	Thu Jan 08 11:25:22 2015 +0100
     3.2 +++ b/xterm/receipt	Thu Jan 08 11:53:17 2015 +0100
     3.3 @@ -20,6 +20,7 @@
     3.4  # Rules to configure and make the package.
     3.5  compile_rules()
     3.6  {
     3.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries"
     3.8  	./configure \
     3.9  		--prefix=/usr \
    3.10  		--sysconfdir=/etc \