File pacemaker-nagios-plugin-dir.patch of Package pacemaker

commit f813880dd1b6d1614393128a7f5f745437bea121
Author: Gao,Yan <ygao@suse.com>
Date:   Wed Mar 27 22:03:56 2013 +0800

    Build: lrmd: Change the default directory for nagios plugins

Index: pacemaker-2.0.5+20210224.63d2fa7c2/configure.ac
===================================================================
--- pacemaker-2.0.5+20210224.63d2fa7c2.orig/configure.ac
+++ pacemaker-2.0.5+20210224.63d2fa7c2/configure.ac
@@ -1416,7 +1416,7 @@ AC_DEFINE_UNQUOTED([SUPPORT_NAGIOS], [$w
 AM_CONDITIONAL([BUILD_NAGIOS], [test $with_nagios -eq $REQUIRED])
 
 if test x"$NAGIOS_PLUGIN_DIR" = x""; then
-    NAGIOS_PLUGIN_DIR="${libexecdir}/nagios/plugins"
+    NAGIOS_PLUGIN_DIR="${prefix}/lib/nagios/plugins"
 fi
 
 AC_DEFINE_UNQUOTED(NAGIOS_PLUGIN_DIR, "$NAGIOS_PLUGIN_DIR", Directory for nagios plugins)
openSUSE Build Service is sponsored by