wok-6.x diff udns/receipt @ rev 5860
udns: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 19 10:44:28 2010 +0200 (2010-07-19) |
parents | 3115c291f303 |
children | fa07e6369363 |
line diff
1.1 --- a/udns/receipt Wed Feb 24 12:19:54 2010 +0000 1.2 +++ b/udns/receipt Mon Jul 19 10:44:28 2010 +0200 1.3 @@ -14,7 +14,9 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - ./configure && make staticlib sharedlib rblcheck_s dnsget_s 1.8 + grep -q "gcc (GCC) 4.5.0" configure.lib || 1.9 + sed -i 's/" conftest.c$/&\n [ $? -eq 0 ] || gcc --version | grep -q "gcc (GCC) 4.5.0"/' configure.lib 1.10 + bash ./configure && make staticlib sharedlib rblcheck_s dnsget_s 1.11 } 1.12 1.13 # Rules to gen a SliTaz package suitable for Tazpkg.