diff --git a/lang/tolua++/Makefile b/lang/tolua++/Makefile index d4ec10baf749..1dcda7a19fa1 100644 --- a/lang/tolua++/Makefile +++ b/lang/tolua++/Makefile @@ -33,4 +33,10 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/lib/libtolua++.so ${LUA_LIBDIR} ${INSTALL_DATA} ${WRKSRC}/lib/libtolua++.so ${PREFIX}/lib/libtolua++-${LUA_VER}.so -.include +.include + +.if ${ARCH} == "sparc64" && ${OSVERSION} > 900000 +BROKEN= Does not install on sparc64-9 +.endif + +.include diff --git a/lang/tolua/Makefile b/lang/tolua/Makefile index ab65261b5fde..9d58af942fb2 100644 --- a/lang/tolua/Makefile +++ b/lang/tolua/Makefile @@ -44,5 +44,8 @@ do-install: .if ${ARCH} == "powerpc" BROKEN= Does not compile on powerpc .endif +.if ${ARCH} == "sparc64" && ${OSVERSION} > 900000 +BROKEN= Does not install on sparc64-9 +.endif .include diff --git a/lang/tolua50/Makefile b/lang/tolua50/Makefile index bf4c4e5f9752..ff3dcba3e331 100644 --- a/lang/tolua50/Makefile +++ b/lang/tolua50/Makefile @@ -38,10 +38,14 @@ do-install: ${LN} -sf ${LUA_SUBDIR}/tolua ${PREFIX}/bin/tolua-${LUA_VER} ${INSTALL_DATA} ${WRKSRC}/include/tolua.h ${LUA_INCDIR} ${INSTALL_DATA} ${WRKSRC}/lib/libtolua.a ${LUA_LIBDIR} + .include .if ${ARCH} == "powerpc" BROKEN= Does not compile on powerpc .endif +.if ${ARCH} == "sparc64" && ${OSVERSION} > 900000 +BROKEN= Does not install on sparc64-9 +.endif .include