commit 4ed7a5eec000289533d820605fb7075102a28755
Author: Kacper Kornet <[email protected]>
Date:   Tue Sep 2 08:17:37 2014 +0100

    - make building with guile support deterministic

 gdb.spec | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/gdb.spec b/gdb.spec
index 130ce50..f66e74d 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -4,6 +4,7 @@
 # - change install msg to poldek in buildid-locate-rpm-pld.patch when poldek 
allows it. LP#493922
 #
 # Conditional build:
+%bcond_without guile           # Guile embedded scripting
 %bcond_without python          # build without python support
 
 Summary:       A GNU source-level debugger for C, C++ and Fortran
@@ -52,6 +53,7 @@ BuildRequires:        bison
 BuildRequires: expat-devel
 BuildRequires: flex
 BuildRequires: gettext-devel
+%{?with_guile:BuildRequires:   guile-devel >= 2.0}
 BuildRequires: libselinux-devel
 BuildRequires: libtool
 BuildRequires: libunwind-devel >= 0.97
@@ -227,6 +229,11 @@ cp -f /usr/share/automake/config.* .
 %else
        --without-python \
 %endif
+%if %{with guile}
+       --with-guile \
+%else
+       --without-guile \
+%endif
        --disable-gdbtk \
        --disable-shared \
        --enable-gdbcli \
@@ -316,6 +323,7 @@ rm -rf $RPM_BUILD_ROOT
 %ifarch %{x8664}
 %dir %{_datadir}/gdb/auto-load%{_prefix}/lib64
 %endif
+%{?with_guile:%{_datadir}/gdb/guile}
 %{_datadir}/gdb/syscalls
 %{_datadir}/gdb/system-gdbinit
 %{_datadir}/gdb/python
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gdb.git/commitdiff/4ed7a5eec000289533d820605fb7075102a28755

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to