Skip to content

Commit

Permalink
devel/luabind: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Utilize USES=localbase while I am here

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 18, 2023
1 parent 0746f85 commit a68c8de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions devel/luabind/Makefile
Expand Up @@ -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

Expand Down

0 comments on commit a68c8de

Please sign in to comment.