summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schuerch <nativemad@gentoo.org>2020-06-24 19:45:56 +0200
committerAndreas Schuerch <nativemad@gentoo.org>2020-06-25 12:44:43 +0200
commita6598a9bfa5866d1e6bb2fbb7c2df3e828fdadb6 (patch)
treea61bbb4976add1bfa86670c48cd743135129f697 /net-im/coturn/coturn-9999.ebuild
parentprofiles: Mask dev-tex/{cdcover,translator} for removal. (diff)
downloadgentoo-a6598a9bfa5866d1e6bb2fbb7c2df3e828fdadb6.tar.gz
gentoo-a6598a9bfa5866d1e6bb2fbb7c2df3e828fdadb6.tar.bz2
gentoo-a6598a9bfa5866d1e6bb2fbb7c2df3e828fdadb6.zip
net-im/coturn: versionbump, remove old, solves 724918,716096,710286
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Andreas Schuerch <nativemad@gentoo.org>
Diffstat (limited to 'net-im/coturn/coturn-9999.ebuild')
-rw-r--r--net-im/coturn/coturn-9999.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-im/coturn/coturn-9999.ebuild b/net-im/coturn/coturn-9999.ebuild
index 4a1fd7499733..f3a72b581544 100644
--- a/net-im/coturn/coturn-9999.ebuild
+++ b/net-im/coturn/coturn-9999.ebuild
@@ -32,10 +32,16 @@ RDEPEND="acct-group/turnserver
DEPEND="${RDEPEND}"
src_configure() {
+ if [ -n "${AR}" ]; then
+ sed 's:ARCHIVERCMD="ar -r":ARCHIVERCMD="${AR} -r":g' -i "${S}/configure"
+ fi
+ sed 's:MANPREFIX}/man/:MANPREFIX}/:g' -i "${S}/Makefile.in" || die "sed for mandir failed"
sed 's:#log-file=/var/tmp/turn.log:log-file=/var/log/turnserver.log:' \
-i "${S}/examples/etc/turnserver.conf" || die "sed for logdir failed"
sed 's:#simple-log:simple-log:' -i "${S}/examples/etc/turnserver.conf" \
|| die "sed for simple-log failed"
+ sed '/INSTALL_DIR} examples\/script/a \ \${INSTALL_DIR} examples\/ca \${DESTDIR}${EXAMPLESDIR}' \
+ -i "${S}/Makefile.in" || die "sed for example ca failed"
if ! use mongodb; then
export TURN_NO_MONGO=yes
fi
@@ -51,7 +57,7 @@ src_configure() {
if ! use sqlite; then
export TURN_NO_SQLITE=yes
fi
-
+ export DOCSDIR="/usr/share/doc/${PN}-${PV}"
econf $(use_with sqlite)
}