OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 08-May-2005 17:55:20
Branch: HEAD Handle: 2005050816552000
Modified files:
openpkg-src/ratbox ratbox.spec
Log:
try to fix building under Solaris. Submitted by: Matthias Kurz
Summary:
Revision Changes Path
1.13 +6 -1 openpkg-src/ratbox/ratbox.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ratbox/ratbox.spec
============================================================================
$ cvs diff -u -r1.12 -r1.13 ratbox.spec
--- openpkg-src/ratbox/ratbox.spec 3 May 2005 09:46:04 -0000 1.12
+++ openpkg-src/ratbox/ratbox.spec 8 May 2005 15:55:20 -0000 1.13
@@ -37,7 +37,7 @@
Group: Network
License: GPL
Version: %{V_server}
-Release: 20050503
+Release: 20050508
# list of sources
Source0:
ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/testing/ircd-ratbox-%{V_server}.tgz
@@ -115,10 +115,15 @@
-e 's;PREFIX "/services.db";"%{l_prefix}/var/ratbox/services.db";'
\
-e 's;PREFIX "/help/";"%{l_prefix}/share/ratbox/services/help/";' \
include/config.h
+ LIBS=""
+ case "%{l_platform -t}" in
+ *-sunos* ) LIBS="$LIBS -lsocket -lnsl" ;;
+ esac
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
+ LIBS="$LIBS" \
./configure \
--prefix=%{l_prefix} \
--with-sqlite=%{l_prefix}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]