wok-4.x 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 | 5e7d5d586f55 |
children | 32eeee907ef2 |
files | udns/receipt |
line diff
1.1 --- a/udns/receipt Sun Jul 18 12:02:49 2010 +0200 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.