From nobody Fri Jul 21 18:26:23 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R6ygM2J0Wz4nQJK; Fri, 21 Jul 2023 18:26:23 +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 4R6ygM1pkdz41Hd; Fri, 21 Jul 2023 18:26:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689963983; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=q3IwptOoGs5rBIkLEzkTIOkQn7UON8MBoneKndQP968=; b=YeWfG+XzsOQsN00aods77dZ7l0f2ONvVqp2RqJn25i5MzLm1dVDLTKUrvTXLsGdTwLFHRn jsshja6sNWgezJmbIipMcl9ZgxJl8p5DGO1j1pok+Jwo/5WKfu9NziUr7H14uUlAiMLSDs kA1QXwy3bXEFXlCkpulzPBYnfPujO5QSiw4TQAA2KrsstrdawdKeOwGvs8a8QXc83V4tm8 W1bMTGkkbynIM1coFsGXkoWLfbYN7pPo08yuaqCaTOlimnekEdxqbe3EMl6raMWlsaIRzZ 7JiA0swY60wKKAgez9X6i+DPJLZelkvA+gExwMSUYk27HowfiuyykPGYyuZJPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689963983; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=q3IwptOoGs5rBIkLEzkTIOkQn7UON8MBoneKndQP968=; b=vjHZV9kE3phpvcI1lYDABDmf2V+G92sUUgzYAWiKKRCNhVrdk8fW7SB8fvzj7JtUZQ3qPK g276ZEDQ3/lXrGUh5oFBpyTIsS2+fQmMsyV4mI56e3E9OjW+UV8eD20nFmkliNTDQRPkcN xky8NES8mB4HJ0PhOD3aNQFzc15l4Kp4eZKyFJYhekAUUF4OKy+vNZrvtOnVOO1KmN6zz+ wIxiXlM7cnzkROjzlg1HfqocmxOwn4PPMu682dPxkQQe67D4vXbojDWT8OeHSGkhQdGQHq NHG2cm3BExeS7Fd7YcTTTItJ4KPOzuU3+NQ4KzyjesBY3bh0UZ4/GKaxcjAKkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689963983; a=rsa-sha256; cv=none; b=fPScHQVjCGxeU1QgzNZMwxnsR0z+E5GqFqXNJAsBYlUGE+Rlwuk0q95oAxK7jXpBe6z9Cg BK5h89N+ZJU2cl+qfehoyl2LgM6TMwG4GuKLP/p3gSmLQTunXl3hcAU0cM4Ub0v47mDtBZ /KGwpIZVE/VN97zPYBNZ4NQyofl/i1+oGFnVFSm8QHWWC0gMGZpMOln+24Z9I1WMrtC1FG 2w07eozlCNendKj16cMz1c9SuTFUTcUxvzgw1GVsBBHsCkHqMxx84lAdvVheDOtAfSwAKl Bcv53dUimo7ABXA5eF2JkhuJ4S7SL4g3MaV7NIzIsUlo1/HbYsTDCG2Kr3e2UQ== 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 4R6ygM0sm5zNlV; Fri, 21 Jul 2023 18:26:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36LIQNXh091144; Fri, 21 Jul 2023 18:26:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36LIQNiW091143; Fri, 21 Jul 2023 18:26:23 GMT (envelope-from git) Date: Fri, 21 Jul 2023 18:26:23 GMT Message-Id: <202307211826.36LIQNiW091143@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: afd72f06bf35 - main - mail/avenger: Fix build with llvm16 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: afd72f06bf351bea22af0efc134af69292a0fe61 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=afd72f06bf351bea22af0efc134af69292a0fe61 commit afd72f06bf351bea22af0efc134af69292a0fe61 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-21 17:37:45 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-21 18:26:13 +0000 mail/avenger: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- mail/avenger/Makefile | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/mail/avenger/Makefile b/mail/avenger/Makefile index 6d7a086be8ec..2a00e3d27f0f 100644 --- a/mail/avenger/Makefile +++ b/mail/avenger/Makefile @@ -11,34 +11,40 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= bdb ssl +USE_CXXSTD= c++14 GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-ssl=${OPENSSLBASE} \ + --with-db=${LOCALBASE} \ + --with-etcdir=${ETCDIR} +CONFIGURE_ENV= WFLAGS='-Wall' + +# Fix build with clang11 +CFLAGS+= -fcommon CONFLICTS_INSTALL= mailutils # bin/dotlock +SUB_FILES= pkg-message + USERS= ${PORTNAME} GROUPS= ${USERS} PORTDOCS= INSTALL INSTALL.html README NEWS -SUB_FILES= pkg-message - -CONFIGURE_ENV= WFLAGS='-Wall' -CONFIGURE_ARGS= --enable-ssl=${OPENSSLBASE} \ - --with-db=${LOCALBASE} \ - --with-etcdir=${ETCDIR} -# Fix build with clang11 -CFLAGS+= -fcommon OPTIONS_DEFINE= DOCS SASL -SASL_CONFIGURE_ENABLE= sasl SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 +SASL_CONFIGURE_ENABLE= sasl post-patch: @${REINPLACE_CMD} -e \ '/for vers in/s|5.*;|${BDB_LIB_NAME:S,db-,,};|' \ ${WRKSRC}/configure +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/etc/asmtpd.conf \ @@ -51,8 +57,4 @@ post-install: (cd ${WRKSRC}/etc ; ${INSTALL_DATA} smtp-filter.pf avsendmail.m4 \ ${STAGEDIR}${DATADIR}) -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - .include