Skip to content

Commit

Permalink
devel/autogen: Use BINARY_ALIAS
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Apr 18, 2021
1 parent fd1b46b commit f68ba71
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 33 deletions.
1 change: 1 addition & 0 deletions devel/autogen/Makefile
Expand Up @@ -24,6 +24,7 @@ USES= gmake gnome libtool pathfix perl5 pkgconfig shebangfix tar:xz
USE_GNOME= libxml2
USE_PERL5= build

BINARY_ALIAS= mktemp=gmktemp
CONFIGURE_ARGS= --datadir=${PREFIX}/share \
--disable-dependency-tracking \
--with-libguile=yes --with-libxml2=yes
Expand Down
11 changes: 0 additions & 11 deletions devel/autogen/files/patch-agen5-mk-stamps.sh
@@ -1,11 +0,0 @@
--- agen5/mk-stamps.sh.orig 2018-08-04 20:22:34 UTC
+++ agen5/mk-stamps.sh
@@ -28,7 +28,7 @@
# because some of the rules are complex and we don't want to
# deal with the dual update problem.

-STAMP_TEMP_DIR=$(mktemp --suffix=.tdir -d /tmp/mk-stamps-XXXXXXXX)
+STAMP_TEMP_DIR=$(gmktemp --suffix=.tdir -d /tmp/mk-stamps-XXXXXXXX)
exec 9>&2 2>> ${STAMP_TEMP_DIR}/mk-stamps.log
stop_tracing=:
if (shopt -qo xtrace)
11 changes: 0 additions & 11 deletions devel/autogen/files/patch-build-aux-run-ag.sh
@@ -1,11 +0,0 @@
--- build-aux/run-ag.sh.orig 2018-08-14 23:53:31 UTC
+++ build-aux/run-ag.sh
@@ -45,7 +45,7 @@ find_exe() {
return 0
}

-STAMP_TEMP_DIR=$(mktemp --suffix=.tdir -d /tmp/run-ag-XXXXXXXX)
+STAMP_TEMP_DIR=$(gmktemp --suffix=.tdir -d /tmp/run-ag-XXXXXXXX)
exec 9>&2 2>> ${STAMP_TEMP_DIR}/mk-stamps.log
VERBOSE=1

11 changes: 0 additions & 11 deletions devel/autogen/files/patch-config-mk-shdefs.in
@@ -1,11 +0,0 @@
--- config/mk-shdefs.in.orig 2018-08-03 21:26:38 UTC
+++ config/mk-shdefs.in
@@ -130,7 +130,7 @@ configure() {

set -x
exec 9>&2
-tmp=$(mktemp --suffix=.tdir -d /tmp/shdefs-XXXXXXXXX)
+tmp=$(gmktemp --suffix=.tdir -d /tmp/shdefs-XXXXXXXXX)
exec 2>> $tmp/mk-shdef.log
init $0 $1
mk_config

0 comments on commit f68ba71

Please sign in to comment.