From c6b05f892dd2b025f2eda4d0257da1674d59d837 Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Wed, 6 May 2026 22:05:04 +0200 Subject: First attempt at building on openbsd --- .builds/openbsd.yml | 27 +++++++++++++++++++++++++++ configure.ac | 4 +++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .builds/openbsd.yml diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml new file mode 100644 index 0000000..0856a6e --- /dev/null +++ b/.builds/openbsd.yml @@ -0,0 +1,27 @@ +image: openbsd/latest +packages: +- autoconf +- automake +- libtool +- gettext +- help2man +- texinfo +- texlive_texmf-full +tasks: +- build: | + cd aplwc + alias makeinfo=gmakeinfo + alias texi2dvi=gtexi2dvi + export AUTOCONF_VERSION=2.71 + export AUTOMAKE_VERSION=1.16 + ./bootstrap --skip-po --copy + ./configure + make +- test: | + cd aplwc + make check + make distcheck +triggers: + - action: email + condition: always + to: petermikkelsen10@gmail.com diff --git a/configure.ac b/configure.ac index eeb6163..2ddb6a5 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,9 @@ PKG_INSTALLDIR AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION(0.20) -PKG_CHECK_MODULES([READLINE], [readline]) +PKG_CHECK_MODULES([READLINE], [readline],,[ + PKG_CHECK_MODULES([READLINE], [ereadline]) +]) AC_CONFIG_FILES([ Makefile -- cgit v1.2.3