diff options
Diffstat (limited to 'redhat/applications')
-rw-r--r-- | redhat/applications/knemo/knemo.spec | 2 | ||||
-rw-r--r-- | redhat/applications/wlassistant/wlassistant.spec | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/redhat/applications/knemo/knemo.spec b/redhat/applications/knemo/knemo.spec index b9f916ff7..0e135ffce 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 @@ -160,6 +161,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 f1300d19d..46c2136ed 100644 --- a/redhat/applications/wlassistant/wlassistant.spec +++ b/redhat/applications/wlassistant/wlassistant.spec @@ -172,7 +172,7 @@ fi -DLIB_INSTALL_DIR=%{tde_libdir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ \ - -DBUILD_ALL=on \ + -DBUILD_ALL=ON \ .. %__make %{?_smp_mflags} |