Sfoglia il codice sorgente

cyrus is using fdatasync(3) now so repair configure script to work correctly on Solaris

Michael Schloh von Bennewitz 21 anni fa
parent
commit
61c2f1b159
1 ha cambiato i file con 8 aggiunte e 2 eliminazioni
  1. 8 2
      imapd/imapd.spec

+ 8 - 2
imapd/imapd.spec

@@ -34,7 +34,7 @@ Class:        BASE
 Group:        Mail
 License:      BSD
 Version:      2.2.11
-Release:      20050214
+Release:      20050215
 
 #   package options
 %option       with_fsl    yes
@@ -158,11 +158,17 @@ AutoReqProv:  no
 %if "%{with_drac}" == "yes"
     cflags="$cflags -DDRAC_AUTH"
 %endif
+    loclibs=""
+    case "%{l_platform -t}" in
+        *-sunos* )
+            loclibs="-lrt"
+        ;;
+    esac
     CC="%{l_cc}" \
     CPPFLAGS="$cflags" \
     CFLAGS="%{l_cflags -O} $cflags" \
     LDFLAGS="$ldflags" \
-    LIBS="%{l_fsl_libs}" \
+    LIBS="%{l_fsl_libs} $loclibs" \
     ./configure \
         --cache-file=./cache.config \
         --prefix=%{l_prefix} \