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
da5156f
commit c479ddd
Showing
2 changed files
with
5 additions
and
31 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 |
---|---|---|
|
@@ -63,32 +63,6 @@ index ef75768d0..abb885507 100755 | |
name=$(basename "$0") | ||
|
||
|
||
From afff371829a96a4dfaf796d044876a30a581440e Mon Sep 17 00:00:00 2001 | ||
From: barracuda156 <[email protected]> | ||
Date: Fri, 21 Jul 2023 21:42:11 +0800 | ||
Subject: [PATCH 3/4] Amend mlton-script for Macports | ||
|
||
diff --git bin/mlton-script bin/mlton-script | ||
index 7b1e76eaf..fa8c8e840 100644 | ||
--- bin/mlton-script | ||
+++ bin/mlton-script | ||
@@ -7,12 +7,12 @@ LIB_REL_BIN="../lib/mlton" | ||
|
||
EXE= | ||
|
||
-CC="cc" | ||
+CC="@CC@" | ||
|
||
# You may need to set 'GMP_INC_DIR' so the C compiler can find gmp.h. | ||
-GMP_INC_DIR= | ||
+GMP_INC_DIR="@PREFIX@/include" | ||
# You may need to set 'GMP_LIB_DIR' so the C compiler can find libgmp. | ||
-GMP_LIB_DIR= | ||
+GMP_LIB_DIR="@PREFIX@/lib" | ||
|
||
|
||
set -e | ||
|
||
From 007c3ea9cd8b4e5ac46a333809ebf03abcc36b84 Mon Sep 17 00:00:00 2001 | ||
From: barracuda156 <[email protected]> | ||
Date: Fri, 21 Jul 2023 22:55:53 +0800 | ||
|