OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 15-Feb-2005 16:45:42
Branch: HEAD Handle: 2005021515454100
Modified files:
openpkg-src/imapd imapd.spec
Log:
cyrus is using fdatasync(3) now so repair configure script to work
correctly on Solaris
Summary:
Revision Changes Path
1.134 +8 -2 openpkg-src/imapd/imapd.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/imapd/imapd.spec
============================================================================
$ cvs diff -u -r1.133 -r1.134 imapd.spec
--- openpkg-src/imapd/imapd.spec 14 Feb 2005 20:22:07 -0000 1.133
+++ openpkg-src/imapd/imapd.spec 15 Feb 2005 15:45:41 -0000 1.134
@@ -34,7 +34,7 @@
Group: Mail
License: BSD
Version: 2.2.11
-Release: 20050214
+Release: 20050215
# package options
%option with_fsl yes
@@ -158,11 +158,17 @@
%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} \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]