From nobody Fri Aug 18 07:54:00 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 4RRvJn3rr6z4qryj; Fri, 18 Aug 2023 07:54:01 +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 4RRvJn1RhSz3LGj; Fri, 18 Aug 2023 07:54:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692345241; 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=iH9SGPvPoFmJGLC/sWzW4pFYr4Nw85yPhQiavudZZ68=; b=njYsjol4yqeqMDc6raCF3IIVhbggiGVOun8ah4yQSjykL+nbxCfLBGMdjLulvTdqPB2hWr eK5+f+FSijH3annvAkyCZyMRZltziipfVcV/E7O2kfXDHb61I0KAVQY/bll5CRRsLKNjpR StUUc2R90MU4bLUqaN9FdoXU6Z9bmhTjpImXFLWh179xgRNQWf6cRO1tvMJnTnmZWydVwO zstx/UpebnJM7E39nlmSn98HO4k0kDZw4UoWRv7ydwOrPTwM9ZQErbUPVaH4gWOFDsJQco bAbSoHCxg9aItfTuS+9FWyzE10Y1yZ6HPBdMEc2MS2Jq+NAx3osvMu06VyzhIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692345241; 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=iH9SGPvPoFmJGLC/sWzW4pFYr4Nw85yPhQiavudZZ68=; b=ivUmtH+O+zNA2PewijhQ8eDBomkywAaIBAzf6z5aBuUf8+wdAmdzXK66cPqq6P1vyddh8T YcyEGiCfaYGjsdtCoCMw/XIzq/z1SmQNc1M9p0dRwzWhPDwvppTkm/OjS3fcBwJIn4rzU+ MvlVsNXBCC+uMVOfc5+LdeOOeeOU2Ju46X3BK6PTHYVBdm12MYyG+as5+hVy8h4+vkPin0 ElDn9izhNUeEkk0GedU7Vc0pC6jsItKV1kkpOSb4akITHtUdvReQIFEybR8nnFn0+tGsTK +eujxhPgSXLGcktHGZ2oHCjF8GEawG+lyZEBTzqHQFRX7+svraT3boX07Uw4vQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692345241; a=rsa-sha256; cv=none; b=eWPEnMfgvOa33yrhPQg3bsw5GXOqmjKZmahaBDXDPE+QH7qFvuQWgNc2N6AiWOB77yPlnL ERvagzlW1yQEA6rP3v2Ow36ND9hFTQ9vIbGqO1Z3fll2Axpuiy76D68DnpXD4i0kh5zGOM OkmLS05D5v7QyYNkq116YzvxO7Vr2ovQ+NKFDX9WGfG38mZKn7zeQoxGqv/kLe3XPdLnwS 17f527cCEtw7oeNVzlpw0RXmjnVwhRRj9OVR8sMtNq0Us8DWZiNqGsgFi9Yq3APOiXJPih MaQzHR0mpiDSVvEzVot+4tAUu8J/1lygr3Uu1Fgi1giLrg9YIIDUG1uV0Grv7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RRvJn0Yklz17Bb; Fri, 18 Aug 2023 07:54:01 +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 37I7s0Tb084334; Fri, 18 Aug 2023 07:54:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37I7s0Xd084331; Fri, 18 Aug 2023 07:54:00 GMT (envelope-from git) Date: Fri, 18 Aug 2023 07:54:00 GMT Message-Id: <202308180754.37I7s0Xd084331@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: 0d5a8dbb8b0a - main - net-mgmt/fastnetmon: Fix build on 14 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: 0d5a8dbb8b0a7698c268b673973f27646ca70e91 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d5a8dbb8b0a7698c268b673973f27646ca70e91 commit 0d5a8dbb8b0a7698c268b673973f27646ca70e91 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-18 07:43:38 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-18 07:53:32 +0000 net-mgmt/fastnetmon: Fix build on 14 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- net-mgmt/fastnetmon/Makefile | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/net-mgmt/fastnetmon/Makefile b/net-mgmt/fastnetmon/Makefile index 8d00bebb60a0..ebacb752541e 100644 --- a/net-mgmt/fastnetmon/Makefile +++ b/net-mgmt/fastnetmon/Makefile @@ -28,26 +28,34 @@ USES= cmake compiler:c++11-lang pkgconfig localbase:ldflags ssl USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= pavel-odintsov +USE_RC_SUBR= ${PORTNAME} + +CMAKE_ARGS+= -DENABLE_NETMAP_SUPPORT=ON \ + -DLINK_WITH_ABSL=ON \ + -DSET_ABSOLUTE_INSTALL_PATH=OFF \ + -DCMAKE_INSTALL_MANDIR=${PREFIX}/man +CMAKE_INSTALL_PREFIX= ${PREFIX} +CMAKE_SOURCE_PATH= ${WRKSRC}/src + +CFLAGS_i386= -march=i586 +CXXFLAGS += -DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED \ + -D_GNU_SOURCE USERS= ${PORTNAME} GROUPS= ${PORTNAME} -USE_RC_SUBR= ${PORTNAME} +PORTDOCS= * OPTIONS_DEFINE= DOCS -PORTDOCS= * - -CXXFLAGS += -DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED \ - -D_GNU_SOURCE -CFLAGS_i386= -march=i586 -CMAKE_SOURCE_PATH= ${WRKSRC}/src -CMAKE_ARGS+= -DENABLE_NETMAP_SUPPORT=ON \ - -DLINK_WITH_ABSL=ON \ - -DSET_ABSOLUTE_INSTALL_PATH=OFF \ - -DCMAKE_INSTALL_MANDIR=${PREFIX}/man +.include -CMAKE_INSTALL_PREFIX= ${PREFIX} +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +USES+= llvm:max=15 +CC= clang${LLVM_VERSION} +CPP= clang-cpp${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +.endif .include