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: 13-Jan-2007 08:52:50
Branch: HEAD Handle: 2007011307525000
Modified files:
openpkg-src/monit monit.spec
Log:
fix building under Solaris
Summary:
Revision Changes Path
1.62 +8 -3 openpkg-src/monit/monit.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/monit/monit.spec
============================================================================
$ cvs diff -u -r1.61 -r1.62 monit.spec
--- openpkg-src/monit/monit.spec 1 Jan 2007 17:39:50 -0000 1.61
+++ openpkg-src/monit/monit.spec 13 Jan 2007 07:52:50 -0000 1.62
@@ -33,7 +33,7 @@
Group: Monitoring
License: GPL
Version: 4.8.2
-Release: 20061114
+Release: 20070113
# package options
%option with_fsl yes
@@ -88,11 +88,15 @@
# configure program
cppflags=""
libs=""
+ options=""
case "%{l_platform -t}" in
*-sunos5.6 )
cppflags="-Dsocklen_t=int"
libs="-lkstat"
;;
+ *-sunos* )
+ options="--without-largefiles"
+ ;;
esac
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
@@ -106,10 +110,11 @@
--mandir=%{l_prefix}/man \
%if "%{with_ssl}" == "yes"
--with-ssl \
- --with-ssl-dir=%{l_prefix}
+ --with-ssl-dir=%{l_prefix} \
%else
- --without-ssl
+ --without-ssl \
%endif
+ $options
# build program
%{l_make} %{l_mflags -O}
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]