ports/lang/modula3/files/patch-scripts_python_make-dist.py
John Marino c3d4641410 lang/modula3: Upgrade 5.8.6 => pre-5.10.0
Modula3 hasn't had a proper release in close to 5 years.  However, the
project has moved to github and has been under slow continuous
development.  The internal version was recently switch to 5.10.0, but
this is not a release.

A new build script is used which simplifies the port makefile and even
the generation of new bootstrap compilers.  However, the original 5.8.6
bootstrap still works with some inline modifications.

This version still uses the gcc backend, but eventually it could be
switched to the new c-backend, something that DragonFly could use as
well.  The base has been moved from $LOCALBASE to $LOCALBASE/cm3, so
the "example" programs are back with the rest.
2015-06-04 22:15:23 +00:00

22 lines
932 B
Python

--- scripts/python/make-dist.py.orig 2015-06-03 20:58:25 UTC
+++ scripts/python/make-dist.py
@@ -172,8 +172,8 @@ def FatalError():
InstallRoot_Previous = InstallRoot
InstallRoot_CompilerWithPrevious = os.path.join(GetStage(), "compiler_with_previous")
InstallRoot_CompilerWithSelf = os.path.join(GetStage(), "compiler_with_self")
-InstallRoot_Min = FormInstallRoot("min")
-InstallRoot_All = FormInstallRoot("all")
+InstallRoot_Min = os.path.join(GetStage(), "min-dist")
+InstallRoot_All = os.path.join(GetStage(), "all-dist");
InstallRoots = [InstallRoot_Min, InstallRoot_All]
OriginalLIB = os.getenv("LIB")
@@ -327,7 +327,7 @@ else:
# ----------------------------------------------------------------------------------------------------------------------------------
-MakeArchives()
+InstallLicense(Root, InstallRoot_All)
if contains(target, "linux"):
MakeDebianPackage(FormInstallRoot("all"), "/usr/local/cm3")