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: 04-Oct-2006 10:54:12
Branch: HEAD Handle: 2006100409541100
Modified files:
openpkg-src/ratbox ratbox.spec
Log:
try to fix building under Solaris
Summary:
Revision Changes Path
1.38 +6 -1 openpkg-src/ratbox/ratbox.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ratbox/ratbox.spec
============================================================================
$ cvs diff -u -r1.37 -r1.38 ratbox.spec
--- openpkg-src/ratbox/ratbox.spec 23 Sep 2006 12:54:29 -0000 1.37
+++ openpkg-src/ratbox/ratbox.spec 4 Oct 2006 08:54:11 -0000 1.38
@@ -38,7 +38,7 @@
Group: InstantMessaging
License: GPL
Version: %{V_server}
-Release: 20060923
+Release: 20061004
# list of sources
Source0:
ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/ircd-ratbox-%{V_server}.tgz
@@ -141,10 +141,15 @@
# build IRC challenge/response client
( cd ratbox-respond-%{V_respond}/ratbox-respond
+ libs=""
+ case "%{l_platform -t}" in
+ *-sunos* ) libs="-lnsl -lsocket" ;;
+ esac
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
+ LIBS="$libs" \
./configure \
--prefix=%{l_prefix} \
--enable-openssl=%{l_prefix}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]