rpms/pnp4nagios/devel pnp4nagios-0.4.14-change_broker_install_location.patch, NONE, 1.1

Xavier Bachelot xavierb at fedoraproject.org
Thu Aug 27 20:15:35 UTC 2009


Author: xavierb

Update of /cvs/pkgs/rpms/pnp4nagios/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14649

Added Files:
	pnp4nagios-0.4.14-change_broker_install_location.patch 
Log Message:
patch to move the broker module in a proper location

pnp4nagios-0.4.14-change_broker_install_location.patch:
 Makefile.in |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

--- NEW FILE pnp4nagios-0.4.14-change_broker_install_location.patch ---
--- src/Makefile.in.orig	2009-05-02 11:25:23.000000000 +0200
+++ src/Makefile.in	2009-08-27 20:57:47.000000000 +0200
@@ -33,6 +33,7 @@
 LOGDIR=@localstatedir@
 CFGDIR=@sysconfdir@
 BINDIR=@bindir@
+LIBDIR=@libdir@
 LIBEXECDIR=@libexecdir@
 CGIDIR=@sbindir@
 INSTALL=@INSTALL@
@@ -115,17 +116,17 @@
 
 install:
 	$(MAKE) install-basic
-	$(MAKE) strip-post-install
 
 install-unstripped:
 	$(MAKE) install-basic
 
 install-basic:
 	$(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
+	$(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(LIBDIR)/nagios/brokers
 	$(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(PERFDATA_SPOOL_DIR)
 	$(INSTALL) -m 754 $(INSTALL_OPTS) @npcd_name@ $(DESTDIR)$(BINDIR)
-	$(INSTALL) -m 754 $(INSTALL_OPTS) npcdmod.o $(DESTDIR)$(BINDIR)
+	$(INSTALL) -m 754 $(INSTALL_OPTS) npcdmod.o $(DESTDIR)$(LIBDIR)/nagios/brokers
 
 strip-post-install:
 	$(STRIP) $(DESTDIR)$(BINDIR)/@npcd_name@
-	$(STRIP) $(DESTDIR)$(BINDIR)/npcdmod.o
+	$(STRIP) $(DESTDIR)$(LIBDIR)/nagios/brokers/npcdmod.o




More information about the fedora-extras-commits mailing list