forked from macports/macports-ports
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
57cf56f
commit 4202e78
Showing
2 changed files
with
30 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
From 53d12fe9ff77fd96a8973e8ff459b498ba728f9b Mon Sep 17 00:00:00 2001 | ||
From: barracuda156 <[email protected]> | ||
Date: Fri, 21 Jul 2023 13:35:34 +0800 | ||
Subject: [PATCH 1/4] Amend Makefile.config for Macports | ||
Subject: [PATCH] Amend Makefile.config for Macports | ||
|
||
diff --git Makefile.config Makefile.config | ||
index bc2cb5eef..204751d77 100644 | ||
--- Makefile.config | ||
+++ Makefile.config | ||
@@ -22,7 +22,7 @@ WITH_GMP_LIB_DIR := $(WITH_GMP_DIR)/lib | ||
--- Makefile.config 2024-12-30 19:51:36.000000000 +0800 | ||
+++ Makefile.config 2024-12-31 02:54:22.000000000 +0800 | ||
@@ -22,7 +22,7 @@ | ||
endif | ||
|
||
# Specify installation prefix and staged install destination. | ||
|
@@ -16,7 +14,7 @@ index bc2cb5eef..204751d77 100644 | |
DESTDIR := | ||
|
||
# Specify runtime and compile arguments given to (the to-be-built) `mlton` | ||
@@ -41,7 +41,7 @@ OLD_MLTON := mlton | ||
@@ -41,7 +41,7 @@ | ||
OLD_MLTON_RUNTIME_ARGS := | ||
OLD_MLTON_COMPILE_ARGS := | ||
|
||
|
@@ -25,7 +23,7 @@ index bc2cb5eef..204751d77 100644 | |
ifneq (,$(OLD_MLTON_DIR)) | ||
OLD_MLTON := $(OLD_MLTON_DIR)/$(OLD_MLTON) | ||
endif | ||
@@ -50,12 +50,12 @@ endif | ||
@@ -50,17 +50,17 @@ | ||
# Can be used for alternative tools (e.g., `SED=gsed`). | ||
DIFF := diff | ||
FIND := find | ||
|
@@ -42,12 +40,26 @@ index bc2cb5eef..204751d77 100644 | |
TAR := tar | ||
|
||
SHA1SUM := sha1sum | ||
|
||
SHA1 := sha1 | ||
-OPENSSL := openssl | ||
+OPENSSL := @PREFIX@/bin/openssl | ||
SHASUM := shasum | ||
|
||
CAT := cat | ||
@@ -85,7 +85,7 @@ | ||
MLTON_NAME := MLton [$(MLTON_FORK)] | ||
endif | ||
MLTON_OUTPUT := $(MLTON)-compile | ||
-MLTON_VERSION := $(shell TZ=UTC $(GIT) log -n1 --date=format-local:"%Y%m%d.%H%M%S" --pretty=format:"%cd-g%h$$([ "$$($(GIT) status --porcelain 2> /dev/null)" ] && echo '-dirty')" 2> /dev/null || echo '????????') | ||
+MLTON_VERSION := "@VERSION@" | ||
|
||
###################################################################### | ||
###################################################################### | ||
|
||
From 106fc161be1c269db996acd207296385dcee1be5 Mon Sep 17 00:00:00 2001 | ||
From: barracuda156 <[email protected]> | ||
Date: Fri, 21 Jul 2023 13:37:14 +0800 | ||
Subject: [PATCH 2/4] mlbdeps: amend for Macports | ||
Subject: [PATCH] mlbdeps: amend for Macports | ||
|
||
diff --git bin/mlbdeps bin/mlbdeps | ||
index ef75768d0..abb885507 100755 | ||
|
@@ -62,27 +74,3 @@ index ef75768d0..abb885507 100755 | |
|
||
name=$(basename "$0") | ||
|
||
|
||
From 007c3ea9cd8b4e5ac46a333809ebf03abcc36b84 Mon Sep 17 00:00:00 2001 | ||
From: barracuda156 <[email protected]> | ||
Date: Fri, 21 Jul 2023 22:55:53 +0800 | ||
Subject: [PATCH 4/4] Add version | ||
|
||
--- | ||
Makefile.config | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git Makefile.config Makefile.config | ||
index 204751d77..b714ebb4a 100644 | ||
--- Makefile.config | ||
+++ Makefile.config | ||
@@ -85,7 +85,7 @@ MLTON := mlton-$(MLTON_FORK) | ||
MLTON_NAME := MLton [$(MLTON_FORK)] | ||
endif | ||
MLTON_OUTPUT := $(MLTON)-compile | ||
-MLTON_VERSION := $(shell TZ=UTC $(GIT) log -n1 --date=format-local:"%Y%m%d.%H%M%S" --pretty=format:"%cd-g%h$$([ "$$($(GIT) status --porcelain 2> /dev/null)" ] && echo '-dirty')" 2> /dev/null || echo '????????') | ||
+MLTON_VERSION := "@VERSION@" | ||
|
||
###################################################################### | ||
###################################################################### | ||
-- |