Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 057194449f37d26bd1cd628daab83b89 > files > 2

rancid-2.3.1-1mdv2007.1.src.rpm

--- rancid-2.3.1/Makefile.in~	2004-06-06 06:12:08.000000000 +0200
+++ rancid-2.3.1/Makefile.in	2007-01-09 20:43:22.000000000 +0200
@@ -190,7 +190,7 @@
 
 # sysconfdir is here because etc/Makefile uses a script to be careful about
 # installing rancid.conf, not over-writing an existing one.
-DIRS2_CREATE = $(prefix) $(sysconfdir) $(am__append_1)
+DIRS2_CREATE = $(DESTDIR)$(prefix) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(am__append_1)
 all: all-recursive
 
 .SUFFIXES:
--- rancid-2.3.1/etc/Makefile.in~	2004-06-06 06:12:09.000000000 +0200
+++ rancid-2.3.1/etc/Makefile.in	2007-01-09 20:46:52.000000000 +0200
@@ -357,7 +357,7 @@
 	    echo "         *** examples."; \
 	    echo ""; \
 	else \
-	    $(INSTALL_DATA) rancid.conf.sample $(sysconfdir)/rancid.conf; \
+	    $(INSTALL_DATA) rancid.conf.sample $(DESTDIR)$(sysconfdir)/rancid.conf; \
 	fi; \
 	if test -f $(sysconfdir)/lg.conf ; then \
 	    echo ""; \
@@ -366,7 +366,7 @@
 	    echo "         *** examples."; \
 	    echo ""; \
 	else \
-	    $(INSTALL_DATA) lg.conf.sample $(sysconfdir)/lg.conf; \
+	    $(INSTALL_DATA) lg.conf.sample $(DESTDIR)$(sysconfdir)/lg.conf; \
 	fi; \
 	fi
 
--- rancid-2.3.1/Makefile.am~	2004-01-13 19:24:49.000000000 +0200
+++ rancid-2.3.1/Makefile.am	2007-01-09 20:56:40.000000000 +0200
@@ -37,9 +37,9 @@
 
 # sysconfdir is here because etc/Makefile uses a script to be careful about
 # installing rancid.conf, not over-writing an existing one.
-DIRS2_CREATE=$(prefix) $(sysconfdir)
+DIRS2_CREATE=$(DESTDIR)$(prefix) $(DESTDIR)$(sysconfdir)
 if MK_LCLSTATEDIR
-DIRS2_CREATE+=$(localstatedir)
+DIRS2_CREATE+=$(DESTDIR)$(localstatedir)
 endif
 install-data-hook:
 	$(mkinstalldirs) $(DIRS2_CREATE);