autobuild 1.5.29 → 1.5.30
Sign up to get free protection for your applications and to get access to all the features.
- data/Changes.txt +6 -0
- data/lib/autobuild/packages/autotools.rb +14 -2
- data/lib/autobuild/version.rb +1 -1
- metadata +4 -4
data/Changes.txt
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
== Version 1.5.30
|
2
|
+
* make the autotools handler behave more normally, calling "configure" without
|
3
|
+
--no-create and not calling config.status before make by default. The old
|
4
|
+
behaviour can be restored by setting #force_config_status to true on the
|
5
|
+
package.
|
6
|
+
|
1
7
|
== Version 1.5.29
|
2
8
|
* added --version
|
3
9
|
|
@@ -146,6 +146,12 @@ module Autobuild
|
|
146
146
|
file configurestamp => regen_target
|
147
147
|
end
|
148
148
|
|
149
|
+
# If set to true, configure will be called with --no-create and
|
150
|
+
# ./config.status will be started each time before "make"
|
151
|
+
#
|
152
|
+
# In general, you should not need that.
|
153
|
+
attr_accessor :force_config_status
|
154
|
+
|
149
155
|
private
|
150
156
|
def autodetect_needed_stages
|
151
157
|
# Autodetect autoconf/aclocal/automake
|
@@ -216,7 +222,11 @@ module Autobuild
|
|
216
222
|
def configure
|
217
223
|
super do
|
218
224
|
Dir.chdir(builddir) do
|
219
|
-
command = [ "#{srcdir}/configure"
|
225
|
+
command = [ "#{srcdir}/configure"]
|
226
|
+
if force_config_status
|
227
|
+
command << "--no-create"
|
228
|
+
end
|
229
|
+
command << "--prefix=#{prefix}"
|
220
230
|
command += Array[*configureflags]
|
221
231
|
|
222
232
|
progress "configuring build system for %s"
|
@@ -229,7 +239,9 @@ module Autobuild
|
|
229
239
|
def build
|
230
240
|
Dir.chdir(builddir) do
|
231
241
|
progress "building %s [progress not available]"
|
232
|
-
|
242
|
+
if force_config_status
|
243
|
+
Subprocess.run(self, 'build', './config.status')
|
244
|
+
end
|
233
245
|
Subprocess.run(self, 'build', Autobuild.tool(:make), "-j#{parallel_build_level}")
|
234
246
|
end
|
235
247
|
Autobuild.touch_stamp(buildstamp)
|
data/lib/autobuild/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autobuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 1.5.
|
9
|
+
- 30
|
10
|
+
version: 1.5.30
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sylvain Joyeux
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-09 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|