fiddle: need to update configure after updating config tools
This commit is contained in:
parent
f8e703e2b0
commit
135c6a4b99
@ -10,3 +10,5 @@ https://ftp.osuosl.org/pub/blfs/conglomeration/libffi/$(pkg).tar.gz \
|
|||||||
|
|
||||||
$(pkg)/config.guess -> /tool/config.guess
|
$(pkg)/config.guess -> /tool/config.guess
|
||||||
$(pkg)/config.sub -> /tool/config.sub
|
$(pkg)/config.sub -> /tool/config.sub
|
||||||
|
|
||||||
|
! chdir: $(pkg)| autoconf
|
||||||
|
@ -125,6 +125,15 @@ class ExtLibs
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def do_exec(command, dir, dest)
|
||||||
|
dir = dir ? File.join(dest, dir) : dest
|
||||||
|
if $VERBOSE
|
||||||
|
$stdout.puts "running #{command.dump} under #{dir}"
|
||||||
|
$stdout.flush
|
||||||
|
end
|
||||||
|
system(command, chdir: dir) or raise "failed #{command.dump}"
|
||||||
|
end
|
||||||
|
|
||||||
def do_command(mode, dest, url, cache_dir, chksums)
|
def do_command(mode, dest, url, cache_dir, chksums)
|
||||||
extracted = false
|
extracted = false
|
||||||
base = /.*(?=\.tar(?:\.\w+)?\z)/
|
base = /.*(?=\.tar(?:\.\w+)?\z)/
|
||||||
@ -206,6 +215,13 @@ class ExtLibs
|
|||||||
do_patch(dest, patch, args)
|
do_patch(dest, patch, args)
|
||||||
end
|
end
|
||||||
next
|
next
|
||||||
|
elsif /^!\s*(?:chdir:\s*([^|\s]+)\|\s*)?(.*)/ =~ line
|
||||||
|
if extracted and (mode == :all or mode == :patch)
|
||||||
|
command = vars.expand($2.strip)
|
||||||
|
chdir = $1 and chdir = vars.expand(chdir)
|
||||||
|
do_exec(command, chdir, dest)
|
||||||
|
end
|
||||||
|
next
|
||||||
elsif /->/ =~ line
|
elsif /->/ =~ line
|
||||||
if extracted and (mode == :all or mode == :patch)
|
if extracted and (mode == :all or mode == :patch)
|
||||||
link, file = $`.strip, $'.strip
|
link, file = $`.strip, $'.strip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user