diff options
author | François Andriot <albator78@libertysurf.fr> | 2017-12-02 20:57:56 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2017-12-02 21:01:07 +0100 |
commit | ac47427ea4e008acdbd0fae8cf88a0ec9a387791 (patch) | |
tree | 92533b63b4d77df57ecb3b013eb4c71dc48475fc | |
parent | b57d9c0223ea9be73cc4b9517577ca9fb2062e84 (diff) | |
download | tde-packaging-ac47427ea4e008acdbd0fae8cf88a0ec9a387791.tar.gz tde-packaging-ac47427ea4e008acdbd0fae8cf88a0ec9a387791.zip |
RPM: fix tqt3 build on opensuse TW
-rw-r--r-- | redhat/dependencies/tqt3/tqt3-14.0.0.spec | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec index b4923bcf2..3902bd64e 100644 --- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec +++ b/redhat/dependencies/tqt3/tqt3-14.0.0.spec @@ -287,6 +287,11 @@ BuildRequires: firebird-devel BuildRequires: %{_lib}fbclient-devel %endif +# NIS support +%if 0%{?suse_version} != 1330 +%define with_nis 1 +%endif + # x86_64 specific stuff %if "%{_lib}" != "lib" %if 0%{?mdkversion} || ( 0%{?mgaversion} && 0%{?mgaversion} <= 2) @@ -1348,7 +1353,7 @@ echo yes | ./configure \ -platform linux-g++ \ %endif \ - -nis \ + %{?with_nis:-nis} %{?!with_nis:-no-nis} \ -no-pch \ -cups \ -stl \ |