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
@@ -53,22 +53,9 @@ class Glib(AutotoolsPackage):
|
||||
# around a legitimate usage.
|
||||
patch('no-Werror=format-security.patch')
|
||||
|
||||
force_autoreconf = True
|
||||
|
||||
def url_for_version(self, version):
|
||||
"""Handle glib's version-based custom URLs."""
|
||||
url = 'http://ftp.gnome.org/pub/gnome/sources/glib'
|
||||
return url + '/%s/glib-%s.tar.xz' % (version.up_to(2), version)
|
||||
|
||||
def autoreconf(self, spec, prefix):
|
||||
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"),
|
||||
)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
make("install", parallel=False)
|
||||
|
Reference in New Issue
Block a user