Fri Apr 16 10:44:21 2010 UTC ()
Make it use GNU make as it expects
Bump PKGREVISION


(kefren)
diff -r1.30 -r1.31 pkgsrc/devel/monodevelop/Makefile
diff -r1.11 -r1.12 pkgsrc/devel/monodevelop/distinfo
diff -r0 -r1.7 pkgsrc/devel/monodevelop/patches/patch-aa
diff -r0 -r1.1 pkgsrc/devel/monodevelop/patches/patch-ab
diff -r0 -r1.1 pkgsrc/devel/monodevelop/patches/patch-ac
diff -r0 -r1.1 pkgsrc/devel/monodevelop/patches/patch-ad
diff -r0 -r1.1 pkgsrc/devel/monodevelop/patches/patch-ae
diff -r0 -r1.1 pkgsrc/devel/monodevelop/patches/patch-af
diff -r0 -r1.1 pkgsrc/devel/monodevelop/patches/patch-ag
diff -r0 -r1.1 pkgsrc/devel/monodevelop/patches/patch-ah
diff -r0 -r1.1 pkgsrc/devel/monodevelop/patches/patch-ai

cvs diff -r1.30 -r1.31 pkgsrc/devel/monodevelop/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/monodevelop/Attic/Makefile 2010/04/09 16:07:36 1.30
+++ pkgsrc/devel/monodevelop/Attic/Makefile 2010/04/16 10:44:20 1.31
@@ -1,28 +1,29 @@ @@ -1,28 +1,29 @@
1# $NetBSD: Makefile,v 1.30 2010/04/09 16:07:36 kefren Exp $ 1# $NetBSD: Makefile,v 1.31 2010/04/16 10:44:20 kefren Exp $
2 2
3DISTNAME= monodevelop-2.2.2 3DISTNAME= monodevelop-2.2.2
4CATEGORIES= devel 4CATEGORIES= devel
 5PKGREVISION= 1
5MASTER_SITES= http://ftp.novell.com/pub/mono/sources/monodevelop/ 6MASTER_SITES= http://ftp.novell.com/pub/mono/sources/monodevelop/
6EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
7 8
8MAINTAINER= kefren@NetBSD.org 9MAINTAINER= kefren@NetBSD.org
9HOMEPAGE= http://monodevelop.com/ 10HOMEPAGE= http://monodevelop.com/
10COMMENT= IDE for C\# and other .NET languages 11COMMENT= IDE for C\# and other .NET languages
11 12
12PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
13 14
14GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
15USE_TOOLS+= gmake perl:run pkg-config bash:run msgfmt 16USE_TOOLS+= gmake:run perl:run pkg-config bash:run msgfmt
16EXTRACT_USING= gtar 17EXTRACT_USING= gtar
17MAKE_JOBS_SAFE= no 18MAKE_JOBS_SAFE= no
18 19
19REPLACE_BASH+= mdtool.in 20REPLACE_BASH+= mdtool.in
20REPLACE_BASH+= monodevelop.in 21REPLACE_BASH+= monodevelop.in
21REPLACE_BASH+= src/addins/MonoDevelop.Autotools/templates/configure.template 22REPLACE_BASH+= src/addins/MonoDevelop.Autotools/templates/configure.template
22REPLACE_BASH+= contrib/extract_makefile_variable.sh 23REPLACE_BASH+= contrib/extract_makefile_variable.sh
23REPLACE_BASH+= theme-icons/icon-theme-installer 24REPLACE_BASH+= theme-icons/icon-theme-installer
24 25
25.include "../../databases/shared-mime-info/buildlink3.mk" 26.include "../../databases/shared-mime-info/buildlink3.mk"
26.include "../../devel/mono-addins/buildlink3.mk" 27.include "../../devel/mono-addins/buildlink3.mk"
27.include "../../graphics/hicolor-icon-theme/buildlink3.mk" 28.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
28.include "../../graphics/libgdiplus/buildlink3.mk" 29.include "../../graphics/libgdiplus/buildlink3.mk"

cvs diff -r1.11 -r1.12 pkgsrc/devel/monodevelop/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/monodevelop/Attic/distinfo 2010/04/09 16:07:36 1.11
+++ pkgsrc/devel/monodevelop/Attic/distinfo 2010/04/16 10:44:20 1.12
@@ -1,5 +1,14 @@ @@ -1,5 +1,14 @@
1$NetBSD: distinfo,v 1.11 2010/04/09 16:07:36 kefren Exp $ 1$NetBSD: distinfo,v 1.12 2010/04/16 10:44:20 kefren Exp $
2 2
3SHA1 (monodevelop-2.2.2.tar.bz2) = fbb9ab1cbd9cc10c2052d1045a24cedb16158546 3SHA1 (monodevelop-2.2.2.tar.bz2) = fbb9ab1cbd9cc10c2052d1045a24cedb16158546
4RMD160 (monodevelop-2.2.2.tar.bz2) = 49ea0db9a09690e5b88bb60861fedc0171d31df1 4RMD160 (monodevelop-2.2.2.tar.bz2) = 49ea0db9a09690e5b88bb60861fedc0171d31df1
5Size (monodevelop-2.2.2.tar.bz2) = 5892854 bytes 5Size (monodevelop-2.2.2.tar.bz2) = 5892854 bytes
 6SHA1 (patch-aa) = beb2d998fa8722d5cf2518edb243c88bd48d7f06
 7SHA1 (patch-ab) = 6f3bb5ec755d5c26381c0d714e71645f99b1fcaa
 8SHA1 (patch-ac) = d090d120a867e8c81dabf284282b61bd4ac068fd
 9SHA1 (patch-ad) = 60094ecbc11ce866ee7f88af26ead3a5e1e1193b
 10SHA1 (patch-ae) = 1d6819da0c7257a0a99be3537cdb68f174d987c8
 11SHA1 (patch-af) = 2d5e99de5b3d9fd822f7e6782df11adc3d51dc59
 12SHA1 (patch-ag) = f4b6a610282703575410ace694c85581dc6bf13a
 13SHA1 (patch-ah) = 2515b841359274d3ae3c5f8b2dff8cafb5e36c37
 14SHA1 (patch-ai) = a30eb921dfb0ba94ee7e3a65d447bcaaf8434d83

File Added: pkgsrc/devel/monodevelop/patches/Attic/patch-aa
$NetBSD: patch-aa,v 1.7 2010/04/16 10:44:20 kefren Exp $
--- src/addins/MonoDeveloperExtensions/MonoSolutionItemHandler.cs.orig	2010-04-16 12:49:05.000000000 +0300
+++ src/addins/MonoDeveloperExtensions/MonoSolutionItemHandler.cs	2010-04-16 12:49:13.000000000 +0300
@@ -185,7 +185,7 @@ namespace MonoDeveloper
 			tw.ChainWriter (output);
 			tw.ChainWriter (monitor.Log);
 			
-			ProcessWrapper proc = Runtime.ProcessService.StartProcess ("make", "PROFILE=" + conf.Id + " " + target, conf.OutputDirectory, monitor.Log, tw, null);
+			ProcessWrapper proc = Runtime.ProcessService.StartProcess ("gmake", "PROFILE=" + conf.Id + " " + target, conf.OutputDirectory, monitor.Log, tw, null);
 			proc.WaitForOutput ();
 			
 			CompilerResults cr = new CompilerResults (null);			

File Added: pkgsrc/devel/monodevelop/patches/Attic/patch-ab
$NetBSD: patch-ab,v 1.1 2010/04/16 10:44:20 kefren Exp $
--- src/addins/MonoDevelop.Autotools/SolutionDeployer.cs.orig	2010-04-16 12:49:50.000000000 +0300
+++ src/addins/MonoDevelop.Autotools/SolutionDeployer.cs	2010-04-16 12:50:35.000000000 +0300
@@ -180,7 +180,7 @@ namespace MonoDevelop.Autotools
 				chainedOutput.ChainWriter (monitor.Log);
 				chainedOutput.ChainWriter (sw);
 
-				ProcessWrapper process = Runtime.ProcessService.StartProcess ( "make", 
+				ProcessWrapper process = Runtime.ProcessService.StartProcess ( "gmake", 
 						"dist", 
 						baseDir, 
 						chainedOutput, 

File Added: pkgsrc/devel/monodevelop/patches/Attic/patch-ac
$NetBSD: patch-ac,v 1.1 2010/04/16 10:44:20 kefren Exp $
--- src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs.orig	2010-04-16 12:51:03.000000000 +0300
+++ src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs	2010-04-16 12:51:58.000000000 +0300
@@ -169,7 +169,7 @@ namespace MonoDevelop.Autotools
 				chainedOutput.ChainWriter (monitor.Log);
 				chainedOutput.ChainWriter (swOutput);
 
-				ProcessWrapper process = Runtime.ProcessService.StartProcess ("make",
+				ProcessWrapper process = Runtime.ProcessService.StartProcess ("gmake",
 						data.BuildTargetName,
 						baseDir, 
 						chainedOutput, 
@@ -257,7 +257,7 @@ namespace MonoDevelop.Autotools
 		// Snatched from our codedom code :-).
 		//FIXME: Get this from the language binding.. if a known lang
 
-		static Regex regexEnterDir = new Regex (@"make\[[0-9]*\]: ([a-zA-Z]*) directory `(.*)'");
+		static Regex regexEnterDir = new Regex (@"gmake\[[0-9]*\]: ([a-zA-Z]*) directory `(.*)'");
 		
 		private static CompilerError CreateCompilerErrorFromString (string error_string, Stack<string> dirs, Regex regex)
 		{
@@ -348,7 +348,7 @@ namespace MonoDevelop.Autotools
 			{
 				string baseDir = proj.BaseDirectory;
 	
-				ProcessWrapper process = Runtime.ProcessService.StartProcess ( "make", 
+				ProcessWrapper process = Runtime.ProcessService.StartProcess ( "gmake", 
 						data.CleanTargetName,
 						baseDir, 
 						monitor.Log, 
@@ -403,7 +403,7 @@ namespace MonoDevelop.Autotools
 			monitor.BeginTask (GettextCatalog.GetString ("Executing {0}", project.Name), 1);
 			try
 			{
-				ProcessWrapper process = Runtime.ProcessService.StartProcess ("make",
+				ProcessWrapper process = Runtime.ProcessService.StartProcess ("gmake",
 						data.ExecuteTargetName,
 						project.BaseDirectory,
 						console.Out,

File Added: pkgsrc/devel/monodevelop/patches/Attic/patch-ad
$NetBSD: patch-ad,v 1.1 2010/04/16 10:44:20 kefren Exp $
--- tests/UnitTests/MonoDevelop.Projects/PackagingTests.cs.orig	2010-04-16 12:52:26.000000000 +0300
+++ tests/UnitTests/MonoDevelop.Projects/PackagingTests.cs	2010-04-16 12:52:40.000000000 +0300
@@ -248,10 +248,10 @@ namespace MonoDevelop.Deployment
 			if (!Exec (Path.Combine (tarDir, "configure"), "--prefix=" + prefix, tarDir))
 				Assert.Fail ("Configure script failed");
 			
-			if (!Exec ("make", "all", tarDir))
+			if (!Exec ("gmake", "all", tarDir))
 				Assert.Fail ("Build failed");
 			
-			if (!Exec ("make", "install", tarDir))
+			if (!Exec ("gmake", "install", tarDir))
 				Assert.Fail ("Install failed");
 			
 			CheckDirContents (prefix, expectedFiles);

File Added: pkgsrc/devel/monodevelop/patches/Attic/patch-ae
$NetBSD: patch-ae,v 1.1 2010/04/16 10:44:20 kefren Exp $
--- src/addins/MonoDevelop.Autotools/templates/Makefile.noauto.project.template.orig	2010-04-16 13:17:14.000000000 +0300
+++ src/addins/MonoDevelop.Autotools/templates/Makefile.noauto.project.template	2010-04-16 13:17:28.000000000 +0300
@@ -32,12 +32,12 @@
 %%CUSTOM_COMMAND_TARGETS%%
 $(ASSEMBLY_MDB): $(ASSEMBLY)
 $(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
-	make pre-all-local-hook prefix=$(prefix)
+	gmake pre-all-local-hook prefix=$(prefix)
 	mkdir -p $(shell dirname $(ASSEMBLY))
-	make $(CONFIG)_BeforeBuild
+	gmake $(CONFIG)_BeforeBuild
 	$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
-	make $(CONFIG)_AfterBuild
-	make post-all-local-hook prefix=$(prefix)
+	gmake $(CONFIG)_AfterBuild
+	gmake post-all-local-hook prefix=$(prefix)
 
 %%INSTALL_TARGET%%
 %%UNINSTALL_TARGET%%

File Added: pkgsrc/devel/monodevelop/patches/Attic/patch-af
$NetBSD: patch-af,v 1.1 2010/04/16 10:44:20 kefren Exp $
--- src/addins/MonoDevelop.Autotools/templates/Makefile.solution.template.orig	2010-04-16 13:17:54.000000000 +0300
+++ src/addins/MonoDevelop.Autotools/templates/Makefile.solution.template	2010-04-16 13:18:08.000000000 +0300
@@ -8,14 +8,14 @@
 	@set . $$MAKEFLAGS; final_exit=:; \
 	case $$2 in --unix) shift ;; esac; \
 	case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \
-	make pre-$*-hook prefix=$(prefix) ; \
+	gmake pre-$*-hook prefix=$(prefix) ; \
 	for dir in $(call quote_each,$(SUBDIRS)); do \
 		case "$$dir" in \
-		.) make $*-local || { final_exit="exit 1"; $$dk; };;\
-		*) (cd "$$dir" && make $*) || { final_exit="exit 1"; $$dk; };;\
+		.) gmake $*-local || { final_exit="exit 1"; $$dk; };;\
+		*) (cd "$$dir" && gmake $*) || { final_exit="exit 1"; $$dk; };;\
 		esac \
 	done; \
-	make post-$*-hook prefix=$(prefix) ; \
+	gmake post-$*-hook prefix=$(prefix) ; \
 	$$final_exit
 
 $(CONFIG_MAKE):

File Added: pkgsrc/devel/monodevelop/patches/Attic/patch-ag
$NetBSD: patch-ag,v 1.1 2010/04/16 10:44:21 kefren Exp $
--- src/addins/MonoDevelop.Autotools/templates/make-dist.targets.orig	2010-04-16 13:18:51.000000000 +0300
+++ src/addins/MonoDevelop.Autotools/templates/make-dist.targets	2010-04-16 13:19:21.000000000 +0300
@@ -1,18 +1,18 @@
 dist: $(CONFIG_MAKE)
 	rm -rf $(PACKAGE)-$(VERSION)
 	mkdir $(PACKAGE)-$(VERSION)
-	make pre-dist-hook distdir=$$distdir
+	gmake pre-dist-hook distdir=$$distdir
 	for dir in $(call quote_each,$(SUBDIRS)); do \
 		pkgdir=`pwd`/$(PACKAGE)-$(VERSION); \
 		mkdir "$$pkgdir/$$dir" || true; \
 		case $$dir in \
-		.) make dist-local "distdir=$$pkgdir" || exit 1;; \
-		*) (cd "$$dir"; make dist-local "distdir=$$pkgdir/$$dir") || exit 1;; \
+		.) gmake dist-local "distdir=$$pkgdir" || exit 1;; \
+		*) (cd "$$dir"; gmake dist-local "distdir=$$pkgdir/$$dir") || exit 1;; \
 		esac \
 	done
-	(make dist-local distdir=$(PACKAGE)-$(VERSION))
-	make
-	make post-dist-hook "distsir=$$distdir"
+	(gmake dist-local distdir=$(PACKAGE)-$(VERSION))
+	gmake
+	gmake post-dist-hook "distsir=$$distdir"
 	tar czvf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
 	rm -rf $(PACKAGE)-$(VERSION)
 	@echo "=========================================="
@@ -23,5 +23,5 @@
 	(mkdir test; cd test;  \
 	tar xzvf ../$(PACKAGE)-$(VERSION).tar.gz; cd $(PACKAGE)-$(VERSION); \
 	./configure --prefix=$$(cd `pwd`/..; pwd); \
-	make && make install && make dist);
+	gmake && gmake install && gmake dist);
 	rm -rf test

File Added: pkgsrc/devel/monodevelop/patches/Attic/patch-ah
$NetBSD: patch-ah,v 1.1 2010/04/16 10:44:21 kefren Exp $
--- src/addins/MonoDevelop.Autotools/templates/rules.make.orig	2010-04-16 13:19:36.000000000 +0300
+++ src/addins/MonoDevelop.Autotools/templates/rules.make	2010-04-16 13:20:02.000000000 +0300
@@ -1,9 +1,9 @@
 clean-local:
-	make pre-clean-local-hook
-	make $(CONFIG)_BeforeClean
+	gmake pre-clean-local-hook
+	gmake $(CONFIG)_BeforeClean
 	-rm -f $(call quote_each,$(CLEANFILES))
-	make $(CONFIG)_AfterClean
-	make post-clean-local-hook
+	gmake $(CONFIG)_AfterClean
+	gmake post-clean-local-hook
 
 install-local:
 uninstall-local:
@@ -12,21 +12,21 @@
 quote_each = $(foreach f,$(call s2q,$1),$(call q2quote,$f))
 
 dist-local:
-	make pre-dist-local-hook "distdir=$$distdir"
+	gmake pre-dist-local-hook "distdir=$$distdir"
 	for f in Makefile $(call quote_each,$(EXTRA_DIST)); do \
 		d=`dirname "$$f"`; \
 		test -d "$(distdir)/$$d" || \
 			mkdir -p "$(distdir)/$$d"; \
 		cp -p "$$f" "$(distdir)/$$d" || exit 1; \
 	done
-	make post-dist-local-hook "distdir=$$distdir"
+	gmake post-dist-local-hook "distdir=$$distdir"
 
 dist-local-recursive:
 	for dir in $(call quote_each,$(SUBDIRS)); do \
 		mkdir -p "$(distdir)/$$dir" || true; \
 		case "$$dir" in \
-		.) make dist-local "distdir=$(distdir)" || exit 1;; \
-		*) (cd "$$dir"; make dist-local "distdir=$(distdir)/$$dir") || exit 1; \
+		.) gmake dist-local "distdir=$(distdir)" || exit 1;; \
+		*) (cd "$$dir"; gmake dist-local "distdir=$(distdir)/$$dir") || exit 1; \
 		esac \
 	done
 

File Added: pkgsrc/devel/monodevelop/patches/Attic/patch-ai
$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)