export CFLAGS="-Og -g3"
# gawk and attr were no longer automatically installed in stretch
-logq pi texlive hunspell git gawk attr
+extras=
+if isdebian-testing; then
+ # while this bug exists
+ # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853970
+ # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852611
+ extras=texlive-base/unstable
+fi
+logq pi texlive hunspell git gawk attr $extras
case $(distro-name) in
fedora )
# before i learned the builddep command, i identified these
# https://dist.torproject.org/torbrowser/
ver=$(curl -s https://dist.torproject.org/torbrowser/ \
- | sed -rn 's/.*href="([0-9]+\.[0-9]+).*/\1/p' \
+ | sed -rn 's/.*href="([0-9]+\.[0-9]+[.0-9]*)\/.*/\1/p' \
| sort -Vr | head -n 1)