git: a68c8de9cf72 - main - devel/luabind: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Jul 2023 15:50:54 UTC
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