File gnome-inform7-destdir.patch of Package gnome-inform7

--- data/Compilers/Makefile.in
+++ data/Compilers/Makefile.in
@@ -378,9 +378,7 @@
 inform-6.31-biplatform: ni
 
 install-data-hook:
-	pushd "$(compilersdir)"; \
-	chmod a+x cBlorb inform-6.31-biplatform ni; \
-	popd
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
--- data/Inform7/Extensions/EmilyShort/Makefile.in
+++ data/Inform7/Extensions/EmilyShort/Makefile.in
@@ -367,7 +367,7 @@
 
 
 install-data-hook:
-	pushd "$(emilyshortdir)"; \
+	pushd "$(DESTDIR)$(emilyshortdir)"; \
 	mv BasicHelpMenu Basic\ Help\ Menu; \
 	mv BasicScreenEffects Basic\ Screen\ Effects; \
 	mv CaseManagement Case\ Management; \
@@ -390,7 +390,7 @@
 	popd
 
 uninstall-hook:
-	pushd "$(emilyshortdir)"; \
+	pushd "$(DESTDIR)$(emilyshortdir)"; \
 	rm -f Basic\ Help\ Menu basic\ help\ menu; \
 	rm -f Basic\ Screen\ Effects basic\ screen\ effects; \
 	rm -f Case\ Management case\ management; \
--- data/Inform7/Extensions/GrahamNelson/Makefile.in
+++ data/Inform7/Extensions/GrahamNelson/Makefile.in
@@ -365,7 +365,7 @@
 
 
 install-data-hook:
-	pushd "$(grahamnelsondir)"; \
+	pushd "$(DESTDIR)$(grahamnelsondir)"; \
 	mv RideableVehicles Rideable\ Vehicles; \
 	mv StandardRules Standard\ Rules; \
 	mv UnicodeCharacterNames Unicode\ Character\ Names; \
@@ -377,7 +377,7 @@
 	popd
 
 uninstall-hook:
-	pushd "$(grahamnelsondir)"; \
+	pushd "$(DESTDIR)$(grahamnelsondir)"; \
 	rm -f Rideable\ Vehicles rideable\ vehicles; \
 	rm -f Standard\ Rules standard\ rules; \
 	rm -f Unicode\ Character\ Names unicode\ character\ names; \
--- data/Inform7/Extensions/Makefile.in
+++ data/Inform7/Extensions/Makefile.in
@@ -489,13 +489,13 @@
 
 
 install-data-hook:
-	pushd "$(pkgdatadir)/Inform7/Extensions"; \
+	pushd "$(DESTDIR)$(pkgdatadir)/Inform7/Extensions"; \
 	ln -s Emily\ Short emily\ short; \
 	ln -s Graham\ Nelson graham\ nelson; \
 	popd
 
 uninstall-hook:
-	pushd "$(pkgdatadir)/Inform7/Extensions"; \
+	pushd "$(DESTDIR)$(pkgdatadir)/Inform7/Extensions"; \
 	rm -f emily\ short graham\ nelson; \
 	popd
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
openSUSE Build Service is sponsored by