Skip to content

Instantly share code, notes, and snippets.

@573
Created March 25, 2012 20:41
Show Gist options
  • Save 573/2199620 to your computer and use it in GitHub Desktop.
Save 573/2199620 to your computer and use it in GitHub Desktop.
Patch for gtk2hs-0.10.1/Makefile.in
diff U3 E:/test/Gg/gtk2hs-0.10.1/Makefile.in E:/test/Gg/gtk2hs-0.10.1/Makefile.patched
--- E:/test/Gg/gtk2hs-0.10.1/Makefile.in Wed Apr 29 04:27:24 2009
+++ E:/test/Gg/gtk2hs-0.10.1/Makefile.patched Thu Nov 05 09:19:28 2009
@@ -4183,12 +4183,12 @@
@WIN32_INSTALLER_FALSE@ $(SED) -e 's|$${pkglibdir}|$(pkglibdir)|g' \
@WIN32_INSTALLER_FALSE@ -e 's|$${modules}|$(call getModules,$(pkgname))|' \
@WIN32_INSTALLER_FALSE@ $(call getVar,$(pkgname),CONFIG) \
-@WIN32_INSTALLER_FALSE@ > $(DESTDIR)/$(pkglibdir)/$(notdir $(call getVar,$(pkgname),CONFIG)).tmp; \
-@WIN32_INSTALLER_FALSE@ mv $(DESTDIR)/$(pkglibdir)/$(notdir $(call getVar,$(pkgname),CONFIG)){.tmp,} ; \
+@WIN32_INSTALLER_FALSE@ > $(pkglibdir)/$(notdir $(call getVar,$(pkgname),CONFIG)).tmp; \
+@WIN32_INSTALLER_FALSE@ mv $(pkglibdir)/$(notdir $(call getVar,$(pkgname),CONFIG)){.tmp,} ; \
@WIN32_INSTALLER_FALSE@ $(SED) 's|$${modules}|$(call getModules,$(pkgname))|' \
@WIN32_INSTALLER_FALSE@ $(patsubst %.package.conf,%.cabal,$(call getVar,$(pkgname),CONFIG)) \
-@WIN32_INSTALLER_FALSE@ > $(DESTDIR)/$(pkglibdir)/$(notdir $(patsubst %.package.conf,%.cabal,$(call getVar,$(pkgname),CONFIG))).tmp; \
-@WIN32_INSTALLER_FALSE@ mv $(DESTDIR)/$(pkglibdir)/$(notdir $(patsubst %.package.conf,%.cabal,$(call getVar,$(pkgname),CONFIG))){.tmp,};)
+@WIN32_INSTALLER_FALSE@ > $(pkglibdir)/$(notdir $(patsubst %.package.conf,%.cabal,$(call getVar,$(pkgname),CONFIG))).tmp; \
+@WIN32_INSTALLER_FALSE@ mv $(pkglibdir)/$(notdir $(patsubst %.package.conf,%.cabal,$(call getVar,$(pkgname),CONFIG))){.tmp,};)
# Except on Windows if we're makeing an installer where we delay the variable
# substitution, since the installer does that. So we still substitute for the
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment