OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 20-Aug-2004 22:40:39 Branch: HEAD Handle: 2004082021403900 Modified files: openpkg-src/monit monit.spec Log: allow building under FreeBSD 5 Summary: Revision Changes Path 1.37 +10 -2 openpkg-src/monit/monit.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/monit/monit.spec ============================================================================ $ cvs diff -u -r1.36 -r1.37 monit.spec --- openpkg-src/monit/monit.spec 20 Aug 2004 20:02:17 -0000 1.36 +++ openpkg-src/monit/monit.spec 20 Aug 2004 20:40:39 -0000 1.37 @@ -93,6 +93,12 @@ libs="-lkstat" ;; esac + flags="" + case "%{l_platform -t}" in + *-freebsd5* ) + flags="--without-resource" + ;; + esac CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags} $cppflags" \ @@ -102,10 +108,12 @@ ./configure \ --prefix=%{l_prefix} \ %if "%{with_ssl}" == "yes" - --with-ssl-dir=%{l_prefix} + --with-ssl \ + --with-ssl-dir=%{l_prefix} \ %else - --without-ssl + --without-ssl \ %endif + $flags %{l_make} %{l_mflags -O} %install @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]