Re: [PATCH 1/2] Use script to test build configurations

"Kevin J. McCarthy" <[email protected]> Mon, 1 Jun 2026 19:00:00 +0800
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
On Mon, Jun 01, 2026 at 09:17:56AM +0200, Rene Kita wrote:
>This centralizes the configure command line arguments used for CI builds
>in a single script.  It makes it easier to test locally and keeps the
>manifests dry.
>
>Differences among the manifests are mostly kept as they were, this
>can/should be cleaned up in future commit.
>---
> .builds/alpine.yml    |  31 +++---------
> .builds/archlinux.yml |  31 +++---------
> .builds/build         | 111 ++++++++++++++++++++++++++++++++++++++++++
> .builds/debian.yml    |  30 +++---------
> .builds/freebsd.yml   |  30 +++---------
> .builds/openbsd.yml   |  48 +++---------------
> doc/devel-notes.txt   |   2 +
> 7 files changed, 143 insertions(+), 140 deletions(-)
> create mode 100755 .builds/build

These two commits look okay to me.  I just have a question about how one 
thing works, for my curiosity:

>diff --git a/.builds/build b/.builds/build
>new file mode 100755
>index 00000000..d97051d4
>--- /dev/null
>+++ b/.builds/build
>+openbsd()
>+{
>+	./configure \
>+		--enable-compressed \
>+		--enable-debug \
>+		--enable-external_dotlock \
>+		--disable-fcntl \
>+		--enable-flock \
>+		--with-idn2 \
>+		--enable-imap \
>+		--enable-pop \
>+		--enable-sidebar \
>+		--enable-smtp \
>+		--mandir=${PREFIX}/man \
>+		--with-docdir="${PREFIX}/share/doc/mutt" \

I know this was just copied over from the openbsd.yml file, but where is
PREFIX set?  Is that just sr.ht magic?

>+		--with-ssl \
>+		--enable-hcache \
>+		--with-qdbm

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmodZjAACgkQre92hIAx
a9qcdg//ZCo9BaPuIYB8w3Ui8DRVxjkaAmDjFg/CWMvwyssQKEHYITudQadQ7Y/2
0IVQGAjqxCGlAPp7dyoYV94NZ2HQ/euUHiinUXOvatsQzqWIMcRwhdP7x4VMUjBO
YgcYykn0X7ojV3ctB1FQK1+mUPSp1Kw3FhhLFQMW41yMV/YOXtmRH0yDkvGcqVy5
o3Q14y5R08KFh6xpEsJCy+viLZmCwyabgWK6R4b/K+kYIersMKvN+NerthmgM1XO
y9Z2THfnX3XYsDulQoTDMZW/9Yhsmwr8Z5LrpfCQTEpGXSeLSKwls0JuO+bLXm8g
tft6Q6d+7Vyd9d9hpskjIysVPwlcTMeBQCSTPQUxVYvL5mzasOkCoa0qmZs38pUa
jtm7dB8oEZ2SBOnVRVpdaTUPXsYNqR3yo6VwYGlwD+CbKi/xWYOgsCKlIqs4BxJR
8DwFjmLiX+mUWF3NTdfP9Mt0MDkJ6gFMu5KpSHOII4XKajZpRyCOvulHHRjsryoM
+TAeZNci941eZldClFGFTvKp04QuOLydOgaL2ZvXCQc0r1UuKT9Xk314B+/lgxAq
XC1W5LAeBxGezIRoBdsj32Vg8kmzPiswpdEuW4aNv95VET7Bc0RrND43daE6wwrR
H7PQmapEYDfAFsfvlM2JNAJmVPWDvx/Zlx6YPtx0k65j+Vg2je8=
=M4KU
-----END PGP SIGNATURE-----