pull/1119/head
xq114 3 years ago
parent 23b04ffc08
commit 2a05b83cd9
  1. 3
      packages/n/ncurses/xmake.lua
  2. 3
      packages/u/util-linux/xmake.lua

@ -24,13 +24,14 @@ package("ncurses")
on_install("linux", "macosx", "bsd", function (package)
local configs = {"--without-manpages", "--enable-sigwinch", "--with-gpm=no"}
table.insert(configs, "--with-debug=" .. (package:debug() and "yes" or "no"))
if package:config("widec") then
table.insert(configs, "--enable-widec")
end
if package:config("shared") then
table.insert(configs, "--with-shared")
end
import("package.tools.autoconf").install(package, configs)
import("package.tools.autoconf").install(package, configs, {jobs = 1})
end)
on_test(function (package)

@ -8,7 +8,6 @@ package("util-linux")
end})
add_versions("2.32.1", "86e6707a379c7ff5489c218cfaf1e3464b0b95acf7817db0bc5f179e356a67b2")
add_versions("2.36.2", "f7516ba9d8689343594356f0e5e1a5f0da34adfbc89023437735872bb5024c5f")
add_versions("2.38", "6d111cbe4d55b336db2f1fbeffbc65b89908704c01136371d32aa9bec373eb64")
add_patches("2.36.2", path.join(os.scriptdir(), "patches", "2.36.2", "includes.patch"), "7274762cac2810b5f0d17ecb5ac69c7069e7ff2b880df663b7072628df0867f3")
@ -46,7 +45,7 @@ package("util-linux")
"--disable-silent-rules",
"--without-python",
"--without-systemd",
"--with-bashcompletiondir=" .. package:installdir("share/bash-completion")}
"--with-bashcompletiondir=" .. path.join(package:installdir("share"), "bash-completion")}
table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no"))
table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes"))
if package:debug() then

Loading…
Cancel
Save