aboutsummaryrefslogtreecommitdiff
path: root/devel/luabind
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-06-01 20:08:54 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-06-01 20:08:54 +0000
commit06d30c3ccfd506107bf0343498b71bdcf7cedc1e (patch)
tree311ad3fc1b094d7216127aa172ae12a27678c354 /devel/luabind
parent53d42c3df7091a2aa9e571d9418b99bf72bff8e4 (diff)
downloadports-06d30c3ccfd506107bf0343498b71bdcf7cedc1e.tar.gz
ports-06d30c3ccfd506107bf0343498b71bdcf7cedc1e.zip
Notes
Diffstat (limited to 'devel/luabind')
-rw-r--r--devel/luabind/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/devel/luabind/Makefile b/devel/luabind/Makefile
index ae6b07377e67..7fcabcbf5407 100644
--- a/devel/luabind/Makefile
+++ b/devel/luabind/Makefile
@@ -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: