File fix-installdir.patch of Package istgt

Description: Install binaries to $PREFIX/sbin instead of $PREFIX/bin
 .
 * src/Makefile.in: Fix paths hardcoded to the install target
 * doc/istgt.1.in: Reflect change in resulting man page

Forwarded: not-needed
Author: Arno Töll <debian@toell.net>

Index: istgt-20120807/src/Makefile.in
===================================================================
--- istgt-20120807.orig/src/Makefile.in
+++ istgt-20120807/src/Makefile.in
@@ -88,11 +88,11 @@ istgtcontrol: $(ISTGTCONTROL)
 	$(CC) $(LDFLAGS) -o $@ $(ISTGTCONTROL) $(LIBS)
 
 install: install-dirs
-	$(INSTALL) -m 0755 istgt $(DESTDIR)$(bindir)
-	$(INSTALL) -m 0755 istgtcontrol $(DESTDIR)$(bindir)
+	$(INSTALL) -m 0755 istgt $(DESTDIR)$(sbindir)
+	$(INSTALL) -m 0755 istgtcontrol $(DESTDIR)$(sbindir)
 
 install-dirs:
-	$(MKDIR_P) $(DESTDIR)$(bindir)
+	$(MKDIR_P) $(DESTDIR)$(sbindir)
 
 .PHONY: dist clean distclean depend
 dist: $(DISTFILES)
openSUSE Build Service is sponsored by