summaryrefslogtreecommitdiffstats
path: root/redhat/applications
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications')
-rw-r--r--redhat/applications/knemo/knemo.spec2
-rw-r--r--redhat/applications/wlassistant/wlassistant.spec2
2 files changed, 3 insertions, 1 deletions
diff --git a/redhat/applications/knemo/knemo.spec b/redhat/applications/knemo/knemo.spec
index 630273418..29ef60d10 100644
--- a/redhat/applications/knemo/knemo.spec
+++ b/redhat/applications/knemo/knemo.spec
@@ -98,6 +98,7 @@ BuildRequires: libidn-devel
BuildRequires: openssl-devel
# Wireless support
+%define with_wifi 1
%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5
BuildRequires: wireless-tools-devel
%endif
@@ -159,6 +160,7 @@ fi
-DLIB_INSTALL_DIR="%{tde_libdir}" \
\
-DWITH_ALL_OPTIONS=ON \
+ %{!?with_wifi:-DWITH_LIBIW=OFF} \
-DWITH_GCC_VISIBILITY=ON \
\
-DBUILD_ALL=ON \
diff --git a/redhat/applications/wlassistant/wlassistant.spec b/redhat/applications/wlassistant/wlassistant.spec
index 2eb075d59..823f48b66 100644
--- a/redhat/applications/wlassistant/wlassistant.spec
+++ b/redhat/applications/wlassistant/wlassistant.spec
@@ -171,7 +171,7 @@ fi
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
\
- -DBUILD_ALL=on \
+ -DBUILD_ALL=ON \
..
%__make %{?_smp_mflags}