AutotoolsPackage: minor improvements (#2859)
* AutotoolsPackage: added configure_directory to permit build out of source. The configure script executable is now invoked with an absolute path. Modified a few packages accordingly. * build_systems: functions returning directories are now properties * build_systems: fixed issues with tcl and tk * AutotoolsPackage: reworked recipe for autoreconf
This commit is contained in:

committed by
Todd Gamblin

parent
3b2124af6a
commit
81a5146b1d
@@ -38,19 +38,3 @@ class Czmq(AutotoolsPackage):
|
||||
depends_on('autoconf', type='build')
|
||||
depends_on('pkg-config', type='build')
|
||||
depends_on('zeromq')
|
||||
|
||||
def autoreconf(self, spec, prefix):
|
||||
# Work around autogen.sh oddities
|
||||
# bash = which("bash")
|
||||
# bash("./autogen.sh")
|
||||
mkdirp("config")
|
||||
autoreconf = which("autoreconf")
|
||||
autoreconf("--install", "--verbose", "--force",
|
||||
"-I", "config",
|
||||
"-I", join_path(spec['pkg-config'].prefix,
|
||||
"share", "aclocal"),
|
||||
"-I", join_path(spec['automake'].prefix,
|
||||
"share", "aclocal"),
|
||||
"-I", join_path(spec['libtool'].prefix,
|
||||
"share", "aclocal"),
|
||||
)
|
||||
|
Reference in New Issue
Block a user