From nobody Wed Jul 19 17:30:52 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 4R5jXF3HPYz4nsTw; Wed, 19 Jul 2023 17:30:53 +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 4R5jXD6p05z4lPJ; Wed, 19 Jul 2023 17:30:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689787853; 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=Glyg//8jdvcOtLbh7jAhCCgDpzoGAlJ5Y+rKUJxBaXU=; b=jmCTVO+eTQKSQb0PB2roYIw9qwGGqo8PEcEHHn2vlu9MUDzZ1YKdIepRsbYYJ8ICwxo06l RbS/atiurt++3fCerPs6H7wE7GJPhagAsWnJ/zKxgjIai2BgFUrtSNBnj4wQmz4fEjXgAi UlTLbTZaT771pD7Bv9oTn67UV5q9YpjbIJ5fwqmUEhgAGiCK81dWxDB4vOby4yYIZ7QCct +tpIFe3oHgimCg+ajZxmVZ9NZ2WJtBSdm4dQ5qNVchS9jcpZqk+rnaEJcbi6Q1Bh8mzxTe +nS8/k5fMFSQgavqYCvWKUpqktPtMBrLuDxFl0O/lYk1xvZKfbM6dJ3pdrnnFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689787852; 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=Glyg//8jdvcOtLbh7jAhCCgDpzoGAlJ5Y+rKUJxBaXU=; b=YxuBXNWgcwVuTBzpDZiE2IRQp/A3pWKZTFFKYH2ik3SE8nuCvVMivY+cclmXUcAplp1q7t e06UoN7pYr19T8Y2CtnMRllMqr73KnhiZiHNxUut9+wzz8hmNmizFQI8n7en4iHI8aFmFR YfEL3sTgLIynFCByAk2WHihmJ29bPnYRhK2cX5OK5CsFw3INHyaz6UWB9DRyhNi25JKqsB dCA82a8MVLQt+f9J05KTbBPR4iyuD5BdMtsDbuXRaXgESNGalWSHDAmT+4W/0TqGcCpQAe 8Nv4lmLL3hkohL3MTNrUAGwJftlgnkO5lY17n3BIWk2wWgIDqgZnBWevgws6Rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689787853; a=rsa-sha256; cv=none; b=v0cUCHN33OyjzjEWKRLDNbtc45iFIFrzIznNuYxymEBbFyMWNWOY6nWOISRHjw3yTK3rz0 sF6SGYKWtsZPr0QM4yUmEERQxPhbzBWbX3CS1MghBIfgSMjnc/YFwP7l4oO0mR/Hs795B8 TONOD0m9cHDFcWIDBv+9ysONat3wtiw4V0HyTAjPdj9SI78igLcHWt+l57uia8jmzdSVti 7mVfwLaNZJjfutDCbXMl77LLSAUrVHtgrn/pGDau+KFhTnruuhhEJch7xgVgPsuPzGGd9S e8SmEXwT2bBA1gMcqJ/wWE3A5QSZj3UDglJ8sVo81PEjCEU98aUHNp/rX1ZsMA== 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 4R5jXD5vsvzxFq; Wed, 19 Jul 2023 17:30:52 +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 36JHUqXZ026985; Wed, 19 Jul 2023 17:30:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36JHUqE5026984; Wed, 19 Jul 2023 17:30:52 GMT (envelope-from git) Date: Wed, 19 Jul 2023 17:30:52 GMT Message-Id: <202307191730.36JHUqE5026984@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: f8cebce7970d - main - sysutils/mstflint: 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: f8cebce7970d6994b048a8a11e54634933f9d188 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f8cebce7970d6994b048a8a11e54634933f9d188 commit f8cebce7970d6994b048a8a11e54634933f9d188 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-19 17:24:05 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-19 17:30:39 +0000 sysutils/mstflint: Fix build with llvm16 - Utilize USES=localbase - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- sysutils/mstflint/Makefile | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/sysutils/mstflint/Makefile b/sysutils/mstflint/Makefile index 9fd6dcab207e..efb8fa6599c5 100644 --- a/sysutils/mstflint/Makefile +++ b/sysutils/mstflint/Makefile @@ -12,42 +12,36 @@ LICENSE_COMB= dual LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/LICENSE LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE -USES= autoreconf libtool gmake pkgconfig +USES= autoreconf gmake libtool localbase:ldflags pkgconfig +USE_CXXSTD= c++14 +USE_GITHUB= yes +GH_ACCOUNT= Mellanox -OPTIONS_DEFINE= FWMANAGER ADAB STATIC -OPTIONS_SUB= yes +GNU_CONFIGURE= yes +OPTIONS_DEFINE= FWMANAGER ADAB STATIC .if defined(LITE) OPTIONS_SLAVE= FWMANAGER ADAB STATIC .endif +OPTIONS_SUB= yes -FWMANAGER_DESC= Build with mstfwmanager and mstarchive ADAB_DESC= Build with mstreg and mstlink +FWMANAGER_DESC= Build with mstfwmanager and mstarchive STATIC_DESC= Static binary (disable curl support) + +ADAB_CONFIGURE_ON= --enable-adb-generic-tools +FWMANAGER_CONFIGURE_ON= --enable-fw-mgr +STATIC_USES_OFF= ssl STATIC_CONFIGURE_ON= --enable-all-static --disable-dc \ --disable-openssl --disable-inband -LDFLAGS+= -L${LOCALBASE}/lib -CPPFLAGS+= -I${LOCALBASE}/include - -GNU_CONFIGURE= yes - -USE_GITHUB= yes -GH_ACCOUNT= Mellanox - .include pre-patch: @${ECHO} '#define TOOLS_GIT_SHA "N/A"' > ${WRKSRC}/common/gitversion.h @${MKDIR} ${WRKSRC}/config -.if ${PORT_OPTIONS:MSTATIC} -.else -USES+= ssl -.endif - .if ${PORT_OPTIONS:MADAB} -CONFIGURE_ARGS+= --enable-adb-generic-tools .if ${PORT_OPTIONS:MSTATIC} BROKEN= does not link: expat2 no longer provides static library by default BUILD_DEPENDS+= xmlwf:textproc/expat2 \ @@ -59,7 +53,6 @@ LIB_DEPENDS+= libexpat.so:textproc/expat2 \ .endif .if ${PORT_OPTIONS:MFWMANAGER} -CONFIGURE_ARGS+= --enable-fw-mgr .if ${PORT_OPTIONS:MSTATIC} BUILD_DEPENDS+= xmllint:textproc/libxml2 \ ${LOCALBASE}/include/boost/algorithm/string/detail/formatter_regex.hpp:devel/boost-libs