OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 18-Jun-2003 00:31:20
Branch: HEAD Handle: 2003061723311901
Modified files:
openpkg-src/mailsync mailsync.spec
openpkg-web news.txt
Log:
fix building
Summary:
Revision Changes Path
1.2 +15 -6 openpkg-src/mailsync/mailsync.spec
1.4913 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/mailsync/mailsync.spec
============================================================================
$ cvs diff -u -r1.1 -r1.2 mailsync.spec
--- openpkg-src/mailsync/mailsync.spec 24 Mar 2003 11:11:55 -0000 1.1
+++ openpkg-src/mailsync/mailsync.spec 17 Jun 2003 22:31:20 -0000 1.2
@@ -33,7 +33,7 @@
Group: Mail
License: GPL
Version: 4.5
-Release: 20030324
+Release: 20030618
# list of sources
Source0:
http://osdn.dl.sourceforge.net/mailsync/mailsync_%{version}.orig.tar.gz
@@ -41,8 +41,10 @@
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20020206, gcc, imap
+BuildPreReq: OpenPKG, openpkg >= 20020206, gcc
+BuildPreReq: imap, openssl
PreReq: OpenPKG, openpkg >= 20020206
+PreReq: imap, openssl
AutoReq: no
AutoReqProv: no
@@ -56,19 +58,26 @@
%prep
%setup -q
-
-%build
%{l_shtool} subst \
-e 's;CCLIENT_LIBS="";CCLIENT_LIBS="%{l_prefix}/lib/libimap.a";' \
+ -e 's;/include/c-client;/include/imap;' \
configure
+ %{l_shtool} subst \
+ -e '75s;^;#include <assert.h>;' \
+ src/mailsync.cc
+
+%build
CC="%{l_cc}" \
+ CXX="%{l_cxx}" \
CFLAGS="%{l_cflags -O}" \
- CPPFLAGS="%{l_cppflags imap}" \
+ CXXFLAGS="%{l_cxxflags -O} -fno-operator-names" \
+ CPPFLAGS="%{l_cppflags imap openssl}" \
LDFLAGS="%{l_ldflags}" \
+ LIBS="-lcrypt" \
./configure \
--prefix=%{l_prefix} \
--with-openssl=%{l_prefix} \
- --with-c-client=%{l_prefix}/include/imap
+ --with-c-client=%{l_prefix}
%{l_make} %{l_mflags -O}
%install
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.4912 -r1.4913 news.txt
--- openpkg-web/news.txt 17 Jun 2003 22:19:38 -0000 1.4912
+++ openpkg-web/news.txt 17 Jun 2003 22:31:19 -0000 1.4913
@@ -1,3 +1,4 @@
+18-Jun-2003: Upgraded package: P<mailsync-4.5-20030618>
18-Jun-2003: Upgraded package: P<imap-2002d-20030618>
17-Jun-2003: Upgraded package: P<gated-3.6-20030617>
17-Jun-2003: Upgraded package: P<sitecopy-0.13.1-20030617>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]