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:
parent
47619d8bf8
commit
aa3ab11621
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user