OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 09-Dec-2004 17:35:32
Branch: HEAD Handle: 2004120916353200
Modified files:
openpkg-src/exim exim.spec
Log:
conditionally specify missing realtime functions library
Summary:
Revision Changes Path
1.76 +9 -2 openpkg-src/exim/exim.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/exim/exim.spec
============================================================================
$ cvs diff -u -r1.75 -r1.76 exim.spec
--- openpkg-src/exim/exim.spec 6 Oct 2004 18:06:10 -0000 1.75
+++ openpkg-src/exim/exim.spec 9 Dec 2004 16:35:32 -0000 1.76
@@ -34,7 +34,7 @@
Group: Mail
License: GPL
Version: 4.43
-Release: 20041006
+Release: 20041209
# package options
%option with_auth_cram_md5 no
@@ -106,6 +106,13 @@
scripts/exim_install
%build
+
+ # correctly specify missing realtime functions library
+ EXTRALIBS="%{l_ldflags} -liconv"
+ case "%{l_platform -t}" in
+ *-sunos* ) EXTRALIBS="$EXTRALIBS -lrt" ;;
+ esac
+
# create local compile-time configuration
( cat src/EDITME
echo 'CC=%{l_cc}'
@@ -138,7 +145,7 @@
# Sieve filter
echo 'HAVE_ICONV=YES'
echo 'HEADERS_CHARSET=ISO-8859-1'
- echo 'EXTRALIBS_EXIM+=%{l_ldflags} -liconv'
+ echo "EXTRALIBS_EXIM+=$EXTRALIBS"
# use Berkeley DB in native mode as DBM library
echo 'USE_DB=yes'
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]