1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Unbreak, it seems not compatible with lua52

Reported by:	pkg-fallout
This commit is contained in:
Antoine Brodin 2014-06-01 20:08:54 +00:00
parent 53d42c3df7
commit 06d30c3ccf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356168

View File

@ -12,7 +12,7 @@ COMMENT= Library that helps you create bindings between C++ and Lua
LIB_DEPENDS= libboost_python.so:${PORTSDIR}/devel/boost-python-libs
USES= lua
USES= lua:51
USE_LDCONFIG= yes
CPPFLAGS+= -I.. -I${LUA_INCDIR} -I${LOCALBASE}/include
@ -23,8 +23,6 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${FIND} ${WRKSRC} -name "*.orig" -delete
@ -35,7 +33,7 @@ do-build:
@cd ${WRKSRC}/src && ${ECHO_CMD} *.cpp | \
${XARGS} -n1 -t ${_MAKE_JOBS:C/j/P/} \
${CXX} ${CXXFLAGS} ${CPPFLAGS} -c
cd ${WRKSRC}/src && ${CXX} -shared ${LDFLAGS} -llua -o libluabind.so *.o
cd ${WRKSRC}/src && ${CXX} -shared ${LDFLAGS} -llua-${LUA_VER} -o libluabind.so *.o
cd ${WRKSRC}/src && ${AR} -rcs libluabind.a *.o
do-install: