fix guile paths for 11.4

OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=44
This commit is contained in:
Guido Berhoerster 2012-06-04 09:41:05 +00:00 committed by Git OBS Bridge
parent 47619d8bf8
commit aa3ab11621

View File

@ -15,7 +15,9 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%if 0%{?suse_version} > 1140
%define guile_ver 2.0
%endif
Name: weechat
Version: 0.3.8
@ -147,8 +149,10 @@ pushd build
cmake \
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
-DLIBDIR="%{_libdir}" \
%if 0%{?suse_version} > 1140
-DGUILE_INCLUDE_DIR="%{_includedir}/guile/2.0" \
-DGUILE_LIBRARY="%{_libdir}/libguile-%{guile_ver}.so" \
%endif
-DPYTHON_LIBRARY="%{_libdir}/libpython%{py_ver}.so" \
..
%__make %{?_smp_flags} VERBOSE=1