mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-17 09:10:08 +02:00
36 lines
957 B
Plaintext
36 lines
957 B
Plaintext
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
|
|
|