pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/lua-luv lua-luv: Fix 5.1 and 5.2 builds.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9a86cc24545
branches:  trunk
changeset: 771802:a9a86cc24545
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Dec 27 09:45:40 2021 +0000

description:
lua-luv: Fix 5.1 and 5.2 builds.

diffstat:

 devel/lua-luv/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 7444fb36c3d4 -r a9a86cc24545 devel/lua-luv/Makefile
--- a/devel/lua-luv/Makefile    Mon Dec 27 09:36:10 2021 +0000
+++ b/devel/lua-luv/Makefile    Mon Dec 27 09:45:40 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2021/12/20 20:53:12 nia Exp $
+# $NetBSD: Makefile,v 1.5 2021/12/27 09:45:40 nia Exp $
 
 DISTNAME=      luv-1.42.0-1
 PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/-1$/.1/1}
@@ -25,6 +25,9 @@
 CMAKE_ARGS+=   -DLUA_BUILD_TYPE=System
 CMAKE_ARGS+=   -DWITH_LUA_ENGINE=Lua
 
+pre-configure:
+       ${CP} ${PREFIX}/${LUA_INCDIR}/compat-5.3.* ${WRKSRC}/src
+
 .include "../../lang/lua/module.mk"
 .include "../../devel/libuv/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index