Index: head/devel/luabind/Makefile =================================================================== --- head/devel/luabind/Makefile (revision 398558) +++ head/devel/luabind/Makefile (revision 398559) @@ -1,49 +1,49 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= luabind PORTVERSION= 0.9.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Library that helps you create bindings between C++ and Lua LIB_DEPENDS= libboost_python.so:${PORTSDIR}/devel/boost-python-libs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= lua:51 USE_LDCONFIG= yes CPPFLAGS+= -I.. -I${LUA_INCDIR} -I${LOCALBASE}/include LDFLAGS+= -L${LUA_LIBDIR} CXXFLAGS+= -fPIC PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${FIND} ${WRKSRC} -name "*.orig" -delete # If you manage to make boost_build build luabind with correct # includes/libraries/compiler/flags, please send a patch; # until then, custom build is used 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-${LUA_VER} -o libluabind.so *.o cd ${WRKSRC}/src && ${AR} -rcs libluabind.a *.o do-install: ${INSTALL_DATA} ${WRKSRC}/src/libluabind.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKSRC}/src/libluabind.so ${STAGEDIR}${PREFIX}/lib cd ${WRKSRC} && ${COPYTREE_SHARE} luabind ${STAGEDIR}${PREFIX}/include ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} .include Index: head/devel/luabind/files/patch-luabind_detail_object__rep.hpp =================================================================== --- head/devel/luabind/files/patch-luabind_detail_object__rep.hpp (nonexistent) +++ head/devel/luabind/files/patch-luabind_detail_object__rep.hpp (revision 398559) @@ -0,0 +1,21 @@ +In file included from luabind/detail/policy.hpp:51:0, + from luabind/detail/convert_to_lua.hpp:28, + from luabind/detail/call_member.hpp:30, + from luabind/wrapper_base.hpp:31, + from luabind/back_reference.hpp:27, + from luabind/class.hpp:93, + from luabind/luabind.hpp:28, +luabind/detail/object_rep.hpp: In member function 'void* luabind::detail::object_rep::allocate(size_t)': +luabind/detail/object_rep.hpp:77:11: error: 'malloc' is not a member of 'std' + return std::malloc(size); + ^ +--- luabind/detail/object_rep.hpp.orig 2010-08-31 13:24:52 UTC ++++ luabind/detail/object_rep.hpp +@@ -24,6 +24,7 @@ + #ifndef LUABIND_OBJECT_REP_HPP_INCLUDED + #define LUABIND_OBJECT_REP_HPP_INCLUDED + ++#include // for -DNDEBUG with libc++ + #include + #include + #include Property changes on: head/devel/luabind/files/patch-luabind_detail_object__rep.hpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property