[llvm/epel7] Minor clean up of LLDB patch and only apply it if LLDB is being built
Dave Johansen
daveisfera at fedoraproject.org
Sat Jan 3 03:18:41 UTC 2015
commit a6e4e62b0f278d8f63f2b70adc97fec6a6ae8f2c
Author: Dave Johansen <davejohansen at gmail.com>
Date: Fri Jan 2 20:18:29 2015 -0700
Minor clean up of LLDB patch and only apply it if LLDB is being built
0006-fix-python-package-installation.patch | 4 ++--
llvm.spec | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/0006-fix-python-package-installation.patch b/0006-fix-python-package-installation.patch
index 938937f..89a549e 100644
--- a/0006-fix-python-package-installation.patch
+++ b/0006-fix-python-package-installation.patch
@@ -1,5 +1,5 @@
---- a/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh 2014-02-10 18:35:27.913085487 +0100
-+++ b/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh 2014-02-10 17:54:59.359789538 +0100
+--- a/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh
++++ b/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh
@@ -118,6 +118,8 @@
echo "Python files will be put in ${framework_python_dir}"
fi
diff --git a/llvm.spec b/llvm.spec
index 9295ffc..6e25d8c 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -304,7 +304,9 @@ mv lldb-%{version_base} tools/lldb
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%if %{with lldb}
%patch6 -p1
+%endif
# fix library paths
sed -i 's|/lib /usr/lib $lt_ld_extra|%{_libdir} $lt_ld_extra|' ./configure
More information about the scm-commits
mailing list