Author: peterw
Date: 2005-12-01 21:20:24 -0500 (Thu, 01 Dec 2005)
New Revision: 53814

Modified:
   trunk/mbuild/Buildfile
   trunk/mbuild/Buildfile.config
   trunk/mbuild/ChangeLog
   trunk/mbuild/Makefile.in
   trunk/mbuild/Mono.Build/ChangeLog
   trunk/mbuild/Mono.Build/Mono.Build/MBFile.cs
Log:
2005-12-01  Peter Williams  <[EMAIL PROTECTED]>

        * Makefile.in (Mono.Build.dll): /r:Mono.Posix.dll here.

        * Buildfile: Use it for Mono.Build.dll.

        * Buildfile.config: Define Mono.Posix.dll system dll.

2005-12-01  Peter Williams  <[EMAIL PROTECTED]>

        * Mono.Build/MBFile.cs: Use better method for setting
        execute bit on the file, although we now depend on Mono.Posix.dll.




Modified: trunk/mbuild/Buildfile
===================================================================
--- trunk/mbuild/Buildfile      2005-12-02 02:17:26 UTC (rev 53813)
+++ trunk/mbuild/Buildfile      2005-12-02 02:20:24 UTC (rev 53814)
@@ -89,6 +89,8 @@
 Mono.Build.dll = [
        @Mono.Build.dll.sources
        /config/mbuild/System.Xml.dll
+       # FIXME - would be nice to avoid this dep this low
+       /config/mbuild/Mono.Posix.dll
        /config/mbuild/gac_csc_options
 ] with [ install = /config/mbuild/gac_installer ]
 

Modified: trunk/mbuild/Buildfile.config
===================================================================
--- trunk/mbuild/Buildfile.config       2005-12-02 02:17:26 UTC (rev 53813)
+++ trunk/mbuild/Buildfile.config       2005-12-02 02:20:24 UTC (rev 53814)
@@ -10,6 +10,7 @@
 # Dll dependencies
 
 Mono.GetOptions.dll = CSharpSystemDllCheck []
+Mono.Posix.dll = CSharpSystemDllCheck []
 System.Xml.dll = CSharpSystemDllCheck []
 
 # Define our gac installer: use our "compat name" as package name,

Modified: trunk/mbuild/ChangeLog
===================================================================
--- trunk/mbuild/ChangeLog      2005-12-02 02:17:26 UTC (rev 53813)
+++ trunk/mbuild/ChangeLog      2005-12-02 02:20:24 UTC (rev 53814)
@@ -1,3 +1,11 @@
+2005-12-01  Peter Williams  <[EMAIL PROTECTED]>
+
+       * Makefile.in (Mono.Build.dll): /r:Mono.Posix.dll here.
+
+       * Buildfile: Use it for Mono.Build.dll.
+
+       * Buildfile.config: Define Mono.Posix.dll system dll.
+
 2005-10-15  Peter Williams  <[EMAIL PROTECTED]>
 
        * Buildfile: Dist Makefile.in, not Makefile, now.

Modified: trunk/mbuild/Makefile.in
===================================================================
--- trunk/mbuild/Makefile.in    2005-12-02 02:17:26 UTC (rev 53813)
+++ trunk/mbuild/Makefile.in    2005-12-02 02:20:24 UTC (rev 53814)
@@ -87,7 +87,7 @@
        echo '[assembly: System.Reflection.AssemblyVersion("$(VERSION)")]' >$@
 
 Mono.Build.dll: Mono.Build.dll.sources $(shell cat Mono.Build.dll.sources)
-       $(MCS) /target:library /out:$@ /keyfile:mbuild.snk @$<
+       $(MCS) /target:library /out:$@ /keyfile:mbuild.snk /r:Mono.Posix.dll @$<
        $(SN) -R $@ mbuild.snk
 
 MBuildDynamic.Core.dll: MBuildDynamic.Core.dll.sources $(shell cat 
MBuildDynamic.Core.dll.sources) Mono.Build.dll mb-bundlegen.exe

Modified: trunk/mbuild/Mono.Build/ChangeLog
===================================================================
--- trunk/mbuild/Mono.Build/ChangeLog   2005-12-02 02:17:26 UTC (rev 53813)
+++ trunk/mbuild/Mono.Build/ChangeLog   2005-12-02 02:20:24 UTC (rev 53814)
@@ -1,3 +1,8 @@
+2005-12-01  Peter Williams  <[EMAIL PROTECTED]>
+
+       * Mono.Build/MBFile.cs: Use better method for setting
+       execute bit on the file, although we now depend on Mono.Posix.dll.
+
 2005-10-10  Peter Williams  <[EMAIL PROTECTED]>
 
        Fix build fingerprints. Add a BuiltItem struct, which passes

Modified: trunk/mbuild/Mono.Build/Mono.Build/MBFile.cs
===================================================================
--- trunk/mbuild/Mono.Build/Mono.Build/MBFile.cs        2005-12-02 02:17:26 UTC 
(rev 53813)
+++ trunk/mbuild/Mono.Build/Mono.Build/MBFile.cs        2005-12-02 02:20:24 UTC 
(rev 53814)
@@ -130,8 +130,8 @@
                        // try and abstract this operation.
                        string path = GetPath (ctxt);
 
-                       if (Type.GetType ("System.MonoType") != null)
-                               File.SetAttributes (path, (FileAttributes) 
0x80000000);
+                       if ((int) Environment.OSVersion.Platform == 4)
+                               Mono.Unix.UnixFile.SetPermissions (path, 
Mono.Unix.Native.FilePermissions.S_IXUSR);
 
                        // no action needed on MS
                }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to