summaryrefslogtreecommitdiff
path: root/devel/monodevelop/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'devel/monodevelop/patches/patch-ai')
-rw-r--r--devel/monodevelop/patches/patch-ai36
1 files changed, 36 insertions, 0 deletions
diff --git a/devel/monodevelop/patches/patch-ai b/devel/monodevelop/patches/patch-ai
new file mode 100644
index 00000000000..56a2b79a9af
--- /dev/null
+++ b/devel/monodevelop/patches/patch-ai
@@ -0,0 +1,36 @@
+$NetBSD: patch-ai,v 1.1 2010/04/16 10:44:21 kefren Exp $
+--- src/addins/MonoDevelop.Autotools/SimpleProjectMakefileHandler.cs.orig 2010-04-16 13:33:31.000000000 +0300
++++ src/addins/MonoDevelop.Autotools/SimpleProjectMakefileHandler.cs 2010-04-16 13:34:22.000000000 +0300
+@@ -210,15 +210,15 @@ namespace MonoDevelop.Autotools
+ //FIXME:temp
+ programFilesDir = TranslateDir (programFilesDir);
+ installDirs.Add (programFilesDir);
+- installTarget.Append ("\tmake pre-install-local-hook prefix=$(prefix)\n");
+- installTarget.Append ("\tmake install-satellite-assemblies prefix=$(prefix)\n");
++ installTarget.Append ("\tgmake pre-install-local-hook prefix=$(prefix)\n");
++ installTarget.Append ("\tgmake install-satellite-assemblies prefix=$(prefix)\n");
+ installTarget.AppendFormat ("\tmkdir -p '$(DESTDIR){0}'\n", programFilesDir);
+ installTarget.AppendFormat ("\t$(call cp,$(ASSEMBLY),$(DESTDIR){0})\n", programFilesDir);
+ installTarget.AppendFormat ("\t$(call cp,$(ASSEMBLY_MDB),$(DESTDIR){0})\n", programFilesDir);
+
+ //remove dir?
+- uninstallTarget.Append ("\tmake pre-uninstall-local-hook prefix=$(prefix)\n");
+- uninstallTarget.Append ("\tmake uninstall-satellite-assemblies prefix=$(prefix)\n");
++ uninstallTarget.Append ("\tgmake pre-uninstall-local-hook prefix=$(prefix)\n");
++ uninstallTarget.Append ("\tgmake uninstall-satellite-assemblies prefix=$(prefix)\n");
+ uninstallTarget.AppendFormat ("\t$(call rm,$(ASSEMBLY),$(DESTDIR){0})\n", programFilesDir);
+ uninstallTarget.AppendFormat ("\t$(call rm,$(ASSEMBLY_MDB),$(DESTDIR){0})\n", programFilesDir);
+
+@@ -444,10 +444,10 @@ endif", s.SwitchName.Replace ('-', '_').
+
+ if (!generateAutotools) {
+ installTarget.Insert (0, String.Format ("install-local:{0}\n", installDeps.ToString ()));
+- installTarget.Append ("\tmake post-install-local-hook prefix=$(prefix)\n");
++ installTarget.Append ("\tgmake post-install-local-hook prefix=$(prefix)\n");
+
+ uninstallTarget.Insert (0, String.Format ("uninstall-local:{0}\n", installDeps.ToString ()));
+- uninstallTarget.Append ("\tmake post-uninstall-local-hook prefix=$(prefix)\n");
++ uninstallTarget.Append ("\tgmake post-uninstall-local-hook prefix=$(prefix)\n");
+ }
+
+ if (!generateAutotools && customCommands.Length > 0)