From 698a4af761bde8bd9587cf4b7f9bc0e73646e453 Mon Sep 17 00:00:00 2001 From: ElonH Date: Sat, 4 Apr 2020 16:11:46 +0800 Subject: [PATCH] wxbase: invert is_installed this_prefix has been given in wx-config, so the result of is_installed isn't proper ``` if is_installed; then _include_cppflags="-I${includedir}/wx-2.8" else _include_cppflags="-I${includedir} -I${prefix}/contrib/include" fi ``` --- .../lean/wxbase/patches/fix-install-pointer.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/lean/wxbase/patches/fix-install-pointer.patch diff --git a/package/lean/wxbase/patches/fix-install-pointer.patch b/package/lean/wxbase/patches/fix-install-pointer.patch new file mode 100644 index 0000000000..c472bfad9a --- /dev/null +++ b/package/lean/wxbase/patches/fix-install-pointer.patch @@ -0,0 +1,13 @@ +diff --git a/wx-config.in b/wx-config.in +index b185bbb..0a9a341 100755 +--- a/wx-config.in ++++ b/wx-config.in +@@ -937,7 +937,7 @@ fi + + is_monolithic() { [ "x@MONOLITHIC@" = "x1" ]; } + is_static() { [ -n "$this_linkage" ]; } +-is_installed() { [ -z "$this_prefix" ]; } ++is_installed() { [ "$this_prefix" ]; } + + + # Is the user after a support utility?