You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
lowdown: Fix build on OSX 10.7
Fixes: https://trac.macports.org/ticket/73714
This commit is contained in:
committed by
Vadym-Valdis Yudaiev
parent
05f1d99f5c
commit
d26a58b76e
@@ -14,7 +14,7 @@ legacysupport.newest_darwin_requires_legacy 15
|
||||
name lowdown
|
||||
categories textproc
|
||||
version 3.0.1
|
||||
revision 0
|
||||
revision 1
|
||||
license BSD
|
||||
|
||||
description simple markdown translator
|
||||
@@ -35,6 +35,10 @@ checksums rmd160 433b221d28fd092139131f02465803f257cd100f \
|
||||
depends_build-append \
|
||||
port:bmake
|
||||
|
||||
patch.pre_args-replace \
|
||||
-p0 -p1
|
||||
patchfiles 0001-configure-Use-portable-invocation-of-mktemp.patch
|
||||
|
||||
configure.universal_args
|
||||
configure.pre_args PREFIX=${prefix}
|
||||
configure.args MANDIR=${prefix}/share/man
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
From 37823c474f10262438e55c931dd232e94a5c390a Mon Sep 17 00:00:00 2001
|
||||
From: commitmaniac <201806046+commitmaniac@users.noreply.github.com>
|
||||
Date: Mon, 23 Mar 2026 14:53:00 -0400
|
||||
Subject: [PATCH] configure: Use portable invocation of mktemp
|
||||
|
||||
See: https://github.com/d99kris/heapusage/issues/19
|
||||
From: https://github.com/kristapsdz/oconfigure/pull/28
|
||||
---
|
||||
configure | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index e73c2dd..f1428e0 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -98,7 +98,7 @@ done
|
||||
# exit. This simplifies the script from needing to tidy up everything
|
||||
# directly.
|
||||
|
||||
-TMPROOT=$(mktemp -d) || exit 1
|
||||
+TMPROOT=$(mktemp -d -t tmproot.XXXXXX) || exit 1
|
||||
# shellcheck disable=SC2064
|
||||
trap "rm -rf \"$TMPROOT\"" EXIT
|
||||
|
||||
--
|
||||
2.53.0
|
||||
|
||||
Reference in New Issue
Block a user