Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv11081/scripts
Modified Files:
nagios-plugins
Log Message:
- fixed compile with postgres 8.3.x
Index: nagios-plugins
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/nagios-plugins,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- nagios-plugins 20 Aug 2006 19:51:27 -0000 1.2
+++ nagios-plugins 4 May 2008 20:22:46 -0000 1.3
@@ -27,6 +27,12 @@
case $1 in
build )
if [ "$CONFIG_NAGIOS" = "y" ]; then
+ if [ ! -f devil-linux-patch.done ]; then
+ bzcat $SRCDIR/nagios-plugin-pgsql_include_for_8.3.patch.bz2 | patch -p1 || exit 1
+ touch devil-linux-patch.done
+ fi
+
+ fi
./configure --prefix=/usr --libexecdir=/usr/libexec/nagios --disable-rpath || exit 1
make $PMAKE all || exit 1
strip_debug
|