libtheora: patch autogen.sh to avoid (#20008)

configure problem when spack runs the configure stage of its build/install pipeline

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
This commit is contained in:
Howard Pritchard 2020-12-02 09:24:37 -07:00 committed by GitHub
parent b0baf42988
commit d84c59c9a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
From 0060fd48c12a59a080974ca3754bf0eab9ab6d35 Mon Sep 17 00:00:00 2001
From: Howard Pritchard <howardp@lanl.gov>
Date: Tue, 24 Nov 2020 15:14:41 -0700
Subject: [PATCH] exit prior to running configure
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
diff --git a/autogen.sh b/autogen.sh
index bbca69dc..4de1e783 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -112,6 +112,8 @@ if test -z "$*"; then
echo "to pass any to it, please specify them on the $0 command line."
fi
+exit 0
+
echo "Generating configuration files for $package, please wait...."
echo " $ACLOCAL $ACLOCAL_FLAGS"
--
2.18.2

View File

@ -22,6 +22,8 @@ class Libtheora(AutotoolsPackage):
depends_on('doxygen', type='build') depends_on('doxygen', type='build')
depends_on('libogg') depends_on('libogg')
patch('exit-prior-to-running-configure.patch', when='@1.1.1')
def autoreconf(self, spec, prefix): def autoreconf(self, spec, prefix):
sh = which('sh') sh = which('sh')
if self.spec.satisfies('target=aarch64:'): if self.spec.satisfies('target=aarch64:'):