PKGNAME=guile-2.2
PKGSEC=devel
PKGDEP="gc gmp libffi libtool libunistring ncurses texinfo"
PKGDES="A portable, embeddable Scheme implementation written in C (legacy 2.2 branch)"

# FIXME: Re-generation fails.
#
# configure.ac:1010: error: possibly undefined macro: AM_GNU_GETTEXT
#      If this token and others are legitimate, please use m4_pattern_allow.
#      See the Autoconf documentation.
RECONF=0
AUTOTOOLS_AFTER="--disable-error-on-warning \
                 --with-threads \
                 --program-suffix=2.2"

# NOTE: Stripping breaks the compiled ccache objects.
ABSTRIP=0
ABSPLITDBG=0
PKGBREAK="aisleriot<=3.22.7 autogen<=5.18.12-1 gdb<=8.2-1 \
          graphviz<=2.40.1-3 weechat<=2.4-1"

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
