pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lua-luv



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Feb 13 10:30:19 UTC 2022

Modified Files:
        pkgsrc/devel/lua-luv: Makefile

Log Message:
lua-luv: Only attempt to copy the compat5.3 headers when they're
actively required.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/lua-luv/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/lua-luv/Makefile
diff -u pkgsrc/devel/lua-luv/Makefile:1.5 pkgsrc/devel/lua-luv/Makefile:1.6
--- pkgsrc/devel/lua-luv/Makefile:1.5   Mon Dec 27 09:45:40 2021
+++ pkgsrc/devel/lua-luv/Makefile       Sun Feb 13 10:30:19 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2021/12/27 09:45:40 nia Exp $
+# $NetBSD: Makefile,v 1.6 2022/02/13 10:30:19 nia Exp $
 
 DISTNAME=      luv-1.42.0-1
 PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/-1$/.1/1}
@@ -26,7 +26,9 @@ CMAKE_ARGS+=  -DLUA_BUILD_TYPE=System
 CMAKE_ARGS+=   -DWITH_LUA_ENGINE=Lua
 
 pre-configure:
+.if ${_LUA_VERSION} == "51" || ${_LUA_VERSION} == "52"
        ${CP} ${PREFIX}/${LUA_INCDIR}/compat-5.3.* ${WRKSRC}/src
+.endif
 
 .include "../../lang/lua/module.mk"
 .include "../../devel/libuv/buildlink3.mk"



Home | Main Index | Thread Index | Old Index