From owner-dev-commits-ports-all@freebsd.org Wed Aug 18 09:58:50 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0C8536751AA; Wed, 18 Aug 2021 09:58:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GqNdj6ylcz3nNM; Wed, 18 Aug 2021 09:58:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CCE2A7238; Wed, 18 Aug 2021 09:58:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17I9wnai091848; Wed, 18 Aug 2021 09:58:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17I9wn11091847; Wed, 18 Aug 2021 09:58:49 GMT (envelope-from git) Date: Wed, 18 Aug 2021 09:58:49 GMT Message-Id: <202108180958.17I9wn11091847@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 5c674e4d1497 - main - mail/anubis: the port had been improved (+) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5c674e4d14977f7c1be6c0bb01d26d3ffaaa35d8 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2021 09:58:50 -0000 The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=5c674e4d14977f7c1be6c0bb01d26d3ffaaa35d8 commit 5c674e4d14977f7c1be6c0bb01d26d3ffaaa35d8 Author: Alexey Dokuchaev AuthorDate: 2021-08-18 09:57:36 +0000 Commit: Alexey Dokuchaev 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