mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
app-office/sc-im: cleaner lua handling
Removed the unnecessary luajit check in Makefile and corresponding env var in the ebuild. Signed-off-by: Dex Conner <cantcuckthis@danwin1210.de>
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
CFLAGS += -DGNUPLOT
|
||||
endif
|
||||
|
||||
@@ -116,32 +116,33 @@
|
||||
@@ -116,38 +116,31 @@
|
||||
endif
|
||||
|
||||
# NOTE: libxlsreader (libxls) is required for xls file reading support
|
||||
@@ -43,8 +43,12 @@
|
||||
LDLIBS += $(shell pkg-config --libs lua) -rdynamic
|
||||
endif
|
||||
- else ifneq ($(shell pkg-config --exists luajit || echo 'no'),no) # If not found, check for luajit
|
||||
+ endif
|
||||
+ ifeq ($(LUAJIT),yes)
|
||||
CFLAGS += -DXLUA $(shell pkg-config --cflags luajit)
|
||||
ifneq ($(shell uname -s),Darwin)
|
||||
LDLIBS += $(shell pkg-config --libs luajit) -Wl,--export-dynamic
|
||||
- CFLAGS += -DXLUA $(shell pkg-config --cflags luajit)
|
||||
- ifneq ($(shell uname -s),Darwin)
|
||||
- LDLIBS += $(shell pkg-config --libs luajit) -Wl,--export-dynamic
|
||||
- else
|
||||
- LDLIBS += $(shell pkg-config --libs luajit) -rdynamic
|
||||
- endif
|
||||
endif
|
||||
else ifeq ($(shell uname -s),Darwin)
|
||||
# macOS without pkg-config
|
||||
|
||||
@@ -58,12 +58,11 @@ pkg_setup() {
|
||||
export XLS=$(usex xls)
|
||||
export XLSX=$(usex xlsx)
|
||||
export LUA=$(usex lua)
|
||||
export JUAJIT=$(usex lua_single_target_luajit)
|
||||
( use xlsx || use ods ) && export XML_ZIP="yes"
|
||||
|
||||
# Prefer wayland support over X, and tmux support over both wayland and X.
|
||||
use wayland && export X="no"
|
||||
use tmux && X="no" && export WAYLAND="no"
|
||||
use tmux && export X="no" && export WAYLAND="no"
|
||||
|
||||
# Notifying the user about which clipboard support is enabled if conflicting flags are set
|
||||
CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex X "X" "")
|
||||
|
||||
Reference in New Issue
Block a user