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 17:37:33
Branch: HEAD Handle: 2005021516373300
Modified files:
openpkg-src/imapd imapd.spec
Log:
correct runtime of IMAP.so perl component by supplying librt linkage
into binary file header on Solaris
Summary:
Revision Changes Path
1.135 +13 -3 openpkg-src/imapd/imapd.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/imapd/imapd.spec
============================================================================
$ cvs diff -u -r1.134 -r1.135 imapd.spec
--- openpkg-src/imapd/imapd.spec 15 Feb 2005 15:45:41 -0000 1.134
+++ openpkg-src/imapd/imapd.spec 15 Feb 2005 16:37:33 -0000 1.135
@@ -107,9 +107,19 @@
`find . -name *.[ch] -print`
# ensure linking of Berkeley DB
- %{l_shtool} subst \
- -e 's;^\( *.LIBS..*\)\(\"\],.*\)$;\1 -ldb\2;' \
- perl/imap/Makefile.PL
+ loclibs=""
+ case "%{l_platform -t}" in
+ *-sunos* )
+ %{l_shtool} subst \
+ -e 's;^\( *.LIBS..*\)\(\"\],.*\)$;\1 -ldb -lrt\2;' \
+ perl/imap/Makefile.PL
+ ;;
+ * )
+ %{l_shtool} subst \
+ -e 's;^\( *.LIBS..*\)\(\"\],.*\)$;\1 -ldb\2;' \
+ perl/imap/Makefile.PL
+ ;;
+ esac
# ensure invocation of correct perl
%{l_shtool} subst \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]