summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-19 03:41:36 +0000
committerSam James <sam@gentoo.org>2022-05-19 03:41:36 +0000
commit23af4fed2d7cc961e7df0ccb0765e590e673f9ab (patch)
tree34655cd5cb3581973970707dddbeff09b44089e2 /net-im/coturn/files
parentsys-process/criu: add 3.17 (diff)
downloadgentoo-23af4fed2d7cc961e7df0ccb0765e590e673f9ab.tar.gz
gentoo-23af4fed2d7cc961e7df0ccb0765e590e673f9ab.tar.bz2
gentoo-23af4fed2d7cc961e7df0ccb0765e590e673f9ab.zip
net-im/coturn: fix automagic OpenSSL dep
Also: - Fix calling AR, CC directly - Fix TMPDIR usage Bug: https://bugs.gentoo.org/729820 Closes: https://bugs.gentoo.org/835652 Closes: https://bugs.gentoo.org/724918 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-im/coturn/files')
-rw-r--r--net-im/coturn/files/coturn-4.5.2-respect-TMPDIR.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/net-im/coturn/files/coturn-4.5.2-respect-TMPDIR.patch b/net-im/coturn/files/coturn-4.5.2-respect-TMPDIR.patch
new file mode 100644
index 000000000000..036705afc1f2
--- /dev/null
+++ b/net-im/coturn/files/coturn-4.5.2-respect-TMPDIR.patch
@@ -0,0 +1,24 @@
+diff --git a/configure b/configure
+index caf11f5..003da8d 100755
+--- a/configure
++++ b/configure
+@@ -513,12 +513,13 @@ fi
+ # Temporary DIR location:
+ #########################
+
+-TMPDIR="."
+-
+-if [ -d /var/tmp ] ; then
+- TMPDIR="/var/tmp"
+-elif [ -d /tmp ] ; then
+- TMPDIR=/tmp
++TMPDIR=${TMPDIR:-.}
++if test x"${TMPDIR}" = "." ; then
++ if [ -d /var/tmp ] ; then
++ TMPDIR="/var/tmp"
++ elif [ -d /tmp ] ; then
++ TMPDIR=/tmp
++ fi
+ fi
+
+ ${ECHO_CMD} Use TMP dir ${TMPDIR}