Merge pull request #1345 from hartzell/feature/add-perl-dependency-to-git
Add depends_on('perl'), depends_on('pcre') to git package
This commit is contained in:
commit
3ea1325620
@ -53,19 +53,19 @@ class Git(Package):
|
||||
depends_on("expat")
|
||||
depends_on("gettext")
|
||||
depends_on("zlib")
|
||||
|
||||
# Use system perl for now.
|
||||
# depends_on("perl")
|
||||
# depends_on("pcre")
|
||||
depends_on("pcre")
|
||||
depends_on("perl")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
env['LDFLAGS'] = "-L%s" % spec['gettext'].prefix.lib + " -lintl"
|
||||
configure_args = [
|
||||
"--prefix=%s" % prefix,
|
||||
"--without-pcre",
|
||||
"--with-libpcre=%s" % spec['pcre'].prefix,
|
||||
"--with-openssl=%s" % spec['openssl'].prefix,
|
||||
"--with-zlib=%s" % spec['zlib'].prefix,
|
||||
"--with-curl=%s" % spec['curl'].prefix,
|
||||
"--with-expat=%s" % spec['expat'].prefix
|
||||
"--with-expat=%s" % spec['expat'].prefix,
|
||||
"--with-perl=%s" % join_path(spec['perl'].prefix.bin, 'perl'),
|
||||
]
|
||||
|
||||
which('autoreconf')('-i')
|
||||
|
Loading…
Reference in New Issue
Block a user