wxwidgets: Remove ANSI recipe

It is deprecated for a long time, and it is rarely tested.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
Timothy Gu 2014-11-09 13:54:57 -05:00
parent bb6733abb3
commit b733d508e6
1 changed files with 1 additions and 30 deletions

View File

@ -55,7 +55,7 @@ define $(PKG)_CONFIGURE_OPTS
CXXCPP='$(TARGET)-g++ -E -std=gnu++11'
endef
define $(PKG)_BUILD_UNICODE
define $(PKG)_BUILD
# build the wxWidgets variant with unicode support
mkdir '$(1).unicode'
cd '$(1).unicode' && '$(1)/configure' \
@ -69,31 +69,7 @@ define $(PKG)_BUILD_UNICODE
$(MXE_DISABLE_CRUFT) __install_wxrc___depname=
$(INSTALL) -m755 '$(PREFIX)/$(TARGET)/bin/wx-config' \
'$(PREFIX)/bin/$(TARGET)-wx-config'
endef
# ansi build has been long deprecated
# so don't build it by default
define $(PKG)_BUILD_ANSI
# build the wxWidgets variant without unicode support
mkdir '$(1).ansi'
cd '$(1).ansi' && '$(1)/configure' \
$($(PKG)_CONFIGURE_OPTS) \
--disable-unicode
$(MAKE) -C '$(1).ansi' -j '$(JOBS)' $(MXE_DISABLE_CRUFT)
# backup of the unicode wx-config script
# such that "make install" won't overwrite it
mv '$(PREFIX)/$(TARGET)/bin/wx-config' '$(PREFIX)/$(TARGET)/bin/wx-config-backup'
$(MAKE) -C '$(1).ansi' -j 1 install $(MXE_DISABLE_CRUFT) __install_wxrc___depname=
mv '$(PREFIX)/$(TARGET)/bin/wx-config' '$(PREFIX)/$(TARGET)/bin/wx-config-nounicode'
$(INSTALL) -m755 '$(PREFIX)/$(TARGET)/bin/wx-config-nounicode' '$(PREFIX)/bin/$(TARGET)-wx-config-nounicode'
# restore the unicode wx-config script
mv '$(PREFIX)/$(TARGET)/bin/wx-config-backup' '$(PREFIX)/$(TARGET)/bin/wx-config'
endef
define $(PKG)_TEST
# build test program
'$(TARGET)-g++' \
-W -Wall -Werror -Wno-error=unused-local-typedefs -pedantic -std=gnu++0x \
@ -101,9 +77,4 @@ define $(PKG)_TEST
`'$(TARGET)-wx-config' --cflags --libs`
endef
define $(PKG)_BUILD
$($(PKG)_BUILD_UNICODE)
$($(PKG)_TEST)
endef
$(PKG)_BUILD_SHARED =