Date: Wed, 18 Aug 2021 09:58:49 GMT From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5c674e4d1497 - main - mail/anubis: the port had been improved (+) Message-ID: <202108180958.17I9wn11091847@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=5c674e4d14977f7c1be6c0bb01d26d3ffaaa35d8 commit 5c674e4d14977f7c1be6c0bb01d26d3ffaaa35d8 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2021-08-18 09:57:36 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2021-08-18 09:57:41 +0000 mail/anubis: the port had been improved (+) - Unbreak the build against recent gdbm based on the patch provided by the upstream maintainer*; this breakage went unnoticed for a while because GDBM option was disabled by default -- enable it so we would notice similar breakages next time (most of other ports by the same upstream author/maintainer already default to it; this is very light dependency yet useful enough as default database backend) - Drop MAKE_JOBS_UNSAFE which had been added back in r269161 ten years ago for version 4.1.1 and never properly explained; even though the ChangeLog does not explicitly mention parallel build-related fixes, the author confirmed that he does not recall any problems regarding parallel builds; assume that it either was fixed in the meantime, or would manifest itself again, only this time we'd catch the bug and, at the very least, would properly document it (but ideally fix) *) https://mail.gnu.org/archive/html/bug-anubis/2020-06/msg00004.html --- mail/anubis/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mail/anubis/Makefile b/mail/anubis/Makefile index fd483d53c151..d8e73d4883f0 100644 --- a/mail/anubis/Makefile +++ b/mail/anubis/Makefile @@ -23,13 +23,12 @@ GNU_CONFIGURE= yes INFO= anubis PORTEXAMPLES= 1anubisrc 2anubisrc -MAKE_JOBS_UNSAFE= yes - OPTIONS_DEFINE= NLS EXAMPLES EMACS GUILE GNUPG GNUTLS \ GSASL LIBWRAP PCRE PAM SOCKS TEST +DB_DESC= Database backend OPTIONS_GROUP= DB OPTIONS_GROUP_DB= GDBM MYSQL PGSQL -OPTIONS_DEFAULT= GUILE GNUPG GNUTLS GSASL +OPTIONS_DEFAULT= GDBM GNUPG GNUTLS GSASL GUILE OPTIONS_EXCLUDE_aarch64=TEST OPTIONS_SUB= yes NO_OPTIONS_SORT= yes @@ -46,7 +45,6 @@ EMACS_USES= emacs:build EMACS_CONFIGURE_ON= --with-lispdir=${PREFIX}/${EMACS_SITE_LISPDIR}/anubis EMACS_CONFIGURE_OFF= --with-lispdir=no -GDBM_DESC= GDBM backend GDBM_IMPLIES= GSASL GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm GDBM_CONFIGURE_WITH= gdbm @@ -100,6 +98,9 @@ SUB_LIST+= REQUIRE="${REQUIRE}" post-patch: @${REINPLACE_CMD} -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/src/headers.h + @${REINPLACE_CMD} -e 's,gdbm_db_,db_gdbm_,g' \ + ${WRKSRC}/src/anubisadm.c ${WRKSRC}/src/gdbm.c \ + ${WRKSRC}/src/headers.h ${WRKSRC}/src/main.c post-patch-TEST-off: @${REINPLACE_CMD} -e 's| testsuite||' ${WRKSRC}/Makefile.am
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108180958.17I9wn11091847>