aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-01-31 00:25:20 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-01-31 00:25:20 +0800
commit72662e86a14731e7db56c601b808c863679e684a (patch)
tree7ffd7d95e1d8243fa3f842937ecb8ae2385393ca /devel
parent23e2943afda41fa2eeb1b371d252da92955c0da4 (diff)
downloadfreebsd-ports-gnome-72662e86a14731e7db56c601b808c863679e684a.tar.gz
freebsd-ports-gnome-72662e86a14731e7db56c601b808c863679e684a.tar.zst
freebsd-ports-gnome-72662e86a14731e7db56c601b808c863679e684a.zip
- Mark broken on 10.x: does not build
- Cosmetic fixes
Diffstat (limited to 'devel')
-rw-r--r--devel/lua-sysctl/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/devel/lua-sysctl/Makefile b/devel/lua-sysctl/Makefile
index d7ef316c72d8..42db637e72e9 100644
--- a/devel/lua-sysctl/Makefile
+++ b/devel/lua-sysctl/Makefile
@@ -11,20 +11,21 @@ COMMENT= Small sysctl(3) interface for lua
LICENSE= BSD2CLAUSE
+BROKEN_FreeBSD_10= does not build (error: use of undeclared identifier 'CTLTYPE_S8')
+
USE_GITHUB= yes
+GH_ACCOUNT= kAworu
+GH_PROJECT= lua-${PORTNAME}
+
USES= pkgconfig lua
PLIST_FILES= %%LUA_MODSHAREDIR%%/sysctl.lua \
%%LUA_MODLIBDIR%%/sysctl/core.so
-GH_ACCOUNT= kAworu
-GH_PROJECT= lua-${PORTNAME}
-
post-patch:
@${REINPLACE_CMD} -e "s/5.1/${LUA_VER}/g" ${WRKSRC}/Makefile
do-install:
- @${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}/sysctl \
- ${STAGEDIR}${LUA_MODSHAREDIR}
+ @${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}/sysctl ${STAGEDIR}${LUA_MODSHAREDIR}
${INSTALL_SCRIPT} ${WRKSRC}/sysctl.lua ${STAGEDIR}${LUA_MODSHAREDIR}/sysctl.lua
${INSTALL_LIB} ${WRKSRC}/build/core.so ${STAGEDIR}${LUA_MODLIBDIR}/sysctl/core.so