]> Savannah Git Hosting - gnulib.git/commit
bootstrap: Allow perl modules in $buildreq
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 8 Dec 2014 12:19:12 +0000 (13:19 +0100)
committerEric Blake <eblake@redhat.com>
Mon, 8 Dec 2014 20:22:49 +0000 (13:22 -0700)
commit3914f3153576e9a5ba4002bde27de05211b5a79c
tree65fbd96aac02d491a8374b0de15ef8451772a382
parent3c411c43e5bd964fa6ac98f9cca639d18523ff06
bootstrap: Allow perl modules in $buildreq

With this patch it is possible to put e.g. "perl::XML:XPath -" in
$buildreq in bootstrap.conf which will cause a check for perl module
XML::XPath using:

  perl -m"XML::XPath" -e 'exit 0' >/dev/null 2>&1

If this fails due to any other error than XML::XPath missing, it is left
on the user to fix up his/her bootstrap.conf.  One of the examples
might be perl itself missing, which should be in $buildreq and precede
any perl::Module specifications.  Versioning of perl modules is not
supported.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
ChangeLog
build-aux/bootstrap