mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
luarocks, add missing patchset (#10598)
This commit is contained in:
35
dev-lua/luarocks/patches/luarocks-3.11.1.patchset
Normal file
35
dev-lua/luarocks/patches/luarocks-3.11.1.patchset
Normal file
@@ -0,0 +1,35 @@
|
||||
From 88f0a8cd4109b8b27bdb5a986b05fed33d1894fe Mon Sep 17 00:00:00 2001
|
||||
From: Schrijvers Luc <begasus@gmail.com>
|
||||
Date: Sat, 8 Jun 2024 17:47:03 +0200
|
||||
Subject: Set datarootdir + don't use hard links
|
||||
|
||||
|
||||
diff --git a/GNUmakefile b/GNUmakefile
|
||||
index dade806..66f7226 100644
|
||||
--- a/GNUmakefile
|
||||
+++ b/GNUmakefile
|
||||
@@ -2,7 +2,7 @@ MAKEFLAGS += --jobs=1
|
||||
|
||||
-include config.unix
|
||||
|
||||
-datarootdir = $(prefix)/share
|
||||
+datarootdir = $(prefix)/data
|
||||
bindir = $(prefix)/bin
|
||||
INSTALL = install
|
||||
INSTALL_DATA = $(INSTALL) -m 644
|
||||
diff --git a/src/luarocks/core/cfg.lua b/src/luarocks/core/cfg.lua
|
||||
index 9cfd9dd..d420026 100644
|
||||
--- a/src/luarocks/core/cfg.lua
|
||||
+++ b/src/luarocks/core/cfg.lua
|
||||
@@ -242,7 +242,7 @@ local function make_defaults(lua_version, target_cpu, platforms, home)
|
||||
MKDIR = "mkdir",
|
||||
RMDIR = "rmdir",
|
||||
CP = "cp",
|
||||
- LN = "ln",
|
||||
+ LN = "ln -s",
|
||||
LS = "ls",
|
||||
RM = "rm",
|
||||
FIND = "find",
|
||||
--
|
||||
2.45.1
|
||||
|
||||
Reference in New Issue
Block a user