From nobody Wed Aug 02 14:17:13 2023 X-Original-To: dev-commits-ports-main@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 4RGDZX6GMTz4qckT; Wed, 2 Aug 2023 14:17:17 +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 4RGDZL5Pbyz3sVW; Wed, 2 Aug 2023 14:17:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690985834; 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=atQsbPty0kWwTlBcalHO82MaIkKx1Y8DKLPTavkrkCc=; b=gAWxoJddTHIhZ6hR9WtFqQPNl/j8+wJGsN7GMdAhJEFeXTIV6A3qqoehjm3fCfpB7yX5Hb c+L46Vv9909KmVOzqDLXcbHfKGA6j7MRlT7hT7C8ffWCknkC6i3Hi9h69vIXeflcZvx1Ob 5FRn+NdNDT0V8P3Gvv2z4zxZV4L+UQJS+rCDJBYrmKQuNa6rBEcFrWKfnmTBsHCdtkZyaS RXT/oL4+t71Qo8cSdOBSQ154Z3aYTWn08DBn9LlgnJdy7jNFZQM9oCzesYWn6w9j8+bMUm 1j2hkSvfUp+2spX1jMoiepB7fuCu9jBwfsYXaK/Txv4H/DaXOnUvE0f9keXy3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690985834; a=rsa-sha256; cv=none; b=dWona1814l6GUmga41wfYqttptgDdF5L8lG6Cco+r0iihMckdbcvBuFBN2aVAOfqxF0Mtb S88hddYZslyglMlvQxP85PlKnTy3AL5nfAi42oB/JSxCGQ1Owp8s0n6TtQ9CClPKZA6NqK mU/hsqwjsLBJvjZp4kfEdF9X8oxw/ntiQ9fRBKvgc9vCxWCir8+0+1FCapNDhKX1HBgFBJ 1VJ52nggJqL8J5V1T1jJPuiV/agATZQxRYhy3xXpZYz/jL6gTf+02/sPemWnWc6gILMrca 1CXYDjGIVW8fSClg6HhnQxfid7HOcE+FXQbHl0uQFRI7E+7idYFl7crcw5/Bew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690985834; 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=atQsbPty0kWwTlBcalHO82MaIkKx1Y8DKLPTavkrkCc=; b=DEjyAYLpoWYZxiZkjt0ACYIMo6qHhddxXZzMItqTvrvkC5tYLMhmmKYWg3j67GDh4R3Apu xreF+vOkWKrwYr5nPDnRPwrScaYQGyqozT0kHBV5VPkYaPnIuipl3xhAqm8K/j6ke9H9rB nehbGLhuhGa8qHBYVbt5FOzOothIgRUcbNscfMUykinJTu+SBcu+4TEpw1nAD1ikSED/ot anDVEUzG7pE6osHlMTUJ76KUszCD4b2S5BJY3BPL1HFMD3UciRFHWW07ihnaJq2mj1qqHB ZQbRC91nuWExo8sUgjekdymz+XMVoL5AAMJ2LfzrHjO83jjRgiZP6d8VVoleFg== 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 4RGDZK63BszMsb; Wed, 2 Aug 2023 14:17:13 +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 372EHDfi021409; Wed, 2 Aug 2023 14:17:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 372EHDve021408; Wed, 2 Aug 2023 14:17:13 GMT (envelope-from git) Date: Wed, 2 Aug 2023 14:17:13 GMT Message-Id: <202308021417.372EHDve021408@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: 4ead580be1e6 - main - mail/milter-manager: Fix build with llvm16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 4ead580be1e6fee95bba2636c8edcff351ca2067 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=4ead580be1e6fee95bba2636c8edcff351ca2067 commit 4ead580be1e6fee95bba2636c8edcff351ca2067 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-02 13:39:16 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-02 14:16:42 +0000 mail/milter-manager: Fix build with llvm16 - Utilize USES=localbase Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- mail/milter-manager/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/mail/milter-manager/Makefile b/mail/milter-manager/Makefile index 5c2e8efe80ba..16013a7a0d13 100644 --- a/mail/milter-manager/Makefile +++ b/mail/milter-manager/Makefile @@ -16,8 +16,8 @@ LIB_DEPENDS= libev.so:devel/libev RUN_DEPENDS= rubygem-gio2>0:devel/rubygem-gio2 \ rubygem-rexml>0:textproc/rubygem-rexml -USES= compiler:c++11-lang gettext gmake gnome libtool pathfix \ - pkgconfig ruby +USES= compiler:c++11-lang gettext gmake gnome libtool localbase \ + pathfix pkgconfig ruby USE_GNOME= glib20 intltool USE_LDCONFIG= yes USE_RC_SUBR= milter-manager @@ -30,18 +30,22 @@ CONFIGURE_ARGS= --with-html-dir=${DOCSDIR} \ INSTALL_TARGET= install-strip CFLAGS+= -fdeclspec -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES +.include + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${FIND} ${WRKSRC} -type f -name Makefile.in -exec \ ${REINPLACE_CMD} -e "s#\$$(datadir)/@PACKAGE@#${DATADIR}#" \ -e "s#\$$(datarootdir)/\$$(PACKAGE)#${DATADIR}#" {} + @${REINPLACE_CMD} -e "s#\\\\\$$(pkgdatadir)/sample#${EXAMPLESDIR}#" ${WRKSRC}/configure -.include +.include