Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2023 10:22:51 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2ba2bf91fc27 - main - net-mgmt/metronome: Fix build with llvm16
Message-ID:  <202307201022.36KAMpf2007265@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2ba2bf91fc27fe173fe990f3711410087adecb50

commit 2ba2bf91fc27fe173fe990f3711410087adecb50
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 09:28:31 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 10:22:38 +0000

    net-mgmt/metronome: Fix build with llvm16
    
    - Utilize USES=localbase while I am here
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 net-mgmt/metronome/Makefile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/net-mgmt/metronome/Makefile b/net-mgmt/metronome/Makefile
index b0893f092915..0d87faa828a8 100644
--- a/net-mgmt/metronome/Makefile
+++ b/net-mgmt/metronome/Makefile
@@ -13,17 +13,18 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
 
 USES=		autoreconf:build compiler:c++11-lang eigen:3 libtool:build \
-		pathfix pkgconfig
-
+	localbase:ldflags pathfix pkgconfig
+USE_CXXSTD=	c++14
 USE_GITHUB=	yes
 GH_ACCOUNT=	ahupowerdns
+USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
-LDFLAGS+=	-L${LOCALBASE}/lib
-USE_LDCONFIG=	yes
-SUB_FILES=	pkg-message
+
 INSTALL_TARGET=	install-strip
 
+SUB_FILES=	pkg-message
+
 OPTIONS_DEFINE=	DOCS
 
 pre-configure:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307201022.36KAMpf2007265>