aboutsummaryrefslogtreecommitdiff
path: root/devel/lua-posix
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2010-06-03 05:50:00 +0000
committerMark Linimon <linimon@FreeBSD.org>2010-06-03 05:50:00 +0000
commit09c7190f57215c2651fe6b36785733ae767461d1 (patch)
tree933ac709a41e8ad05c1a0215f7182ea4c968a199 /devel/lua-posix
parentd711b631701f6c64774e8a57a8ea2ecce4e47de2 (diff)
downloadports-09c7190f57215c2651fe6b36785733ae767461d1.tar.gz
ports-09c7190f57215c2651fe6b36785733ae767461d1.zip
Notes
Diffstat (limited to 'devel/lua-posix')
-rw-r--r--devel/lua-posix/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/lua-posix/Makefile b/devel/lua-posix/Makefile
index 22a25ae0b63b..5d5ef3990712 100644
--- a/devel/lua-posix/Makefile
+++ b/devel/lua-posix/Makefile
@@ -21,16 +21,21 @@ WRKSRC= ${WRKDIR}/posix
PLIST_FILES= %%LUA_MODSHAREDIR%%/posix.lua \
%%LUA_MODLIBDIR%%/lposix.so
+.include <bsd.port.pre.mk>
+
.if ${USE_LUA} == 5.1
EXTRA_PATCHES= ${FILESDIR}/extrapatch-51-lposix.c \
${FILESDIR}/extrapatch-51-posix.lua \
${FILESDIR}/extrapatch-51-test.lua
.elif ${USE_LUA} == 5.0
EXTRA_PATCHES= ${FILESDIR}/extrapatch-50-Makefile
+.if ${ARCH} == "powerpc"
+BROKEN= Does not compile on powerpc
+.endif
.endif
do-install:
@${INSTALL_DATA} ${WRKSRC}/posix.lua ${LUA_MODSHAREDIR}
@${INSTALL_PROGRAM} ${WRKSRC}/lposix.so ${LUA_MODLIBDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>