wok-current rev 23051

perl-thread: fix path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 17:01:11 2020 +0100 (2020-03-06)
parents 93d12db6c664
children 2ef5a275ca9b
files perl-thread/receipt tinc/receipt
line diff
     1.1 --- a/perl-thread/receipt	Fri Mar 06 15:13:42 2020 +0100
     1.2 +++ b/perl-thread/receipt	Fri Mar 06 17:01:11 2020 +0100
     1.3 @@ -17,8 +17,14 @@
     1.4  #
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8 -	./configure.gnu --prefix=/usr -Dusethreads &&
     1.9 +	./configure.gnu --prefix=/usr -Dusethreads \
    1.10 +		-Darchname="$ARCH-linux-thread-multi" \
    1.11 +		-Dmyarchname="$ARCH-linux-thread-multi" \
    1.12 +		-Dsitearch="/usr/lib/perl5/site_perl/$VERSION/$ARCH-linux-thread-multi" \
    1.13 +		-Dsitearchexp="/usr/lib/perl5/site_perl/$VERSION/$ARCH-linux-thread-multi" \
    1.14 +		-Darchlib="/usr/lib/perl5/$VERSION/$ARCH-linux-thread-multi" \
    1.15 +		-Darchlibexp="/usr/lib/perl5/$VERSION/$ARCH-linux-thread-multi" \
    1.16 +		-Dinstallarchlib="/usr/lib/perl5/$VERSION/$ARCH-linux-thread-multi" &&
    1.17  	make &&
    1.18  	make install
    1.19  }
     2.1 --- a/tinc/receipt	Fri Mar 06 15:13:42 2020 +0100
     2.2 +++ b/tinc/receipt	Fri Mar 06 17:01:11 2020 +0100
     2.3 @@ -19,7 +19,8 @@
     2.4  
     2.5  current_version()
     2.6  {
     2.7 -	wget -O - $WEB_SITE | sed '/version: /!d;s|.*">\(.*\)</a.*|\1|'
     2.8 +	wget -O - $WEB_SITE 2>/dev/null | \
     2.9 +	sed '/version: /!d;s|.*">\(.*\)</a.*|\1|'
    2.10  }
    2.11  
    2.12  # Rules to configure and make the package.