Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2023 15:50:54 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: a68c8de9cf72 - main - devel/luabind: Fix build with llvm16
Message-ID:  <202307181550.36IFosJM074161@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=a68c8de9cf720262e8e3db34797ece084bdcf806

commit a68c8de9cf720262e8e3db34797ece084bdcf806
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-18 15:42:00 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-18 15:50:39 +0000

    devel/luabind: Fix build with llvm16
    
    - Utilize USES=localbase while I am here
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/luabind/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/devel/luabind/Makefile b/devel/luabind/Makefile
index f25ce0ef5c5c..5fb1973e11ca 100644
--- a/devel/luabind/Makefile
+++ b/devel/luabind/Makefile
@@ -13,10 +13,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	${PY_BOOST}
 
-USES=		compiler:c++11-lang lua:51 python:env
+USES=		compiler:c++11-lang localbase lua:51 python:env
+USE_CXXSTD=	c++11
 USE_LDCONFIG=	yes
 
-CPPFLAGS+=	-I.. -I${LUA_INCDIR} -I${LOCALBASE}/include
+CPPFLAGS+=	-I.. -I${LUA_INCDIR}
 LDFLAGS+=	-L${LUA_LIBDIR}
 CXXFLAGS+=	-fPIC
 



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