mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -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
|
CFLAGS += -DGNUPLOT
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -116,32 +116,33 @@
|
@@ -116,38 +116,31 @@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# NOTE: libxlsreader (libxls) is required for xls file reading support
|
# NOTE: libxlsreader (libxls) is required for xls file reading support
|
||||||
@@ -43,8 +43,12 @@
|
|||||||
LDLIBS += $(shell pkg-config --libs lua) -rdynamic
|
LDLIBS += $(shell pkg-config --libs lua) -rdynamic
|
||||||
endif
|
endif
|
||||||
- else ifneq ($(shell pkg-config --exists luajit || echo 'no'),no) # If not found, check for luajit
|
- else ifneq ($(shell pkg-config --exists luajit || echo 'no'),no) # If not found, check for luajit
|
||||||
+ endif
|
- CFLAGS += -DXLUA $(shell pkg-config --cflags luajit)
|
||||||
+ ifeq ($(LUAJIT),yes)
|
- ifneq ($(shell uname -s),Darwin)
|
||||||
CFLAGS += -DXLUA $(shell pkg-config --cflags luajit)
|
- LDLIBS += $(shell pkg-config --libs luajit) -Wl,--export-dynamic
|
||||||
ifneq ($(shell uname -s),Darwin)
|
- else
|
||||||
LDLIBS += $(shell pkg-config --libs luajit) -Wl,--export-dynamic
|
- 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 XLS=$(usex xls)
|
||||||
export XLSX=$(usex xlsx)
|
export XLSX=$(usex xlsx)
|
||||||
export LUA=$(usex lua)
|
export LUA=$(usex lua)
|
||||||
export JUAJIT=$(usex lua_single_target_luajit)
|
|
||||||
( use xlsx || use ods ) && export XML_ZIP="yes"
|
( use xlsx || use ods ) && export XML_ZIP="yes"
|
||||||
|
|
||||||
# Prefer wayland support over X, and tmux support over both wayland and X.
|
# Prefer wayland support over X, and tmux support over both wayland and X.
|
||||||
use wayland && export X="no"
|
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
|
# Notifying the user about which clipboard support is enabled if conflicting flags are set
|
||||||
CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex X "X" "")
|
CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex X "X" "")
|
||||||
|
|||||||
Reference in New Issue
Block a user