3dc427eb1d
Patch originates from FreeBSD:
https://lists.freebsd.org/pipermail/freebsd-x11/2015-July/016528.html
https://svnweb.freebsd.org/ports/head/x11/libXpm/Makefile?r1=384234&r2=391122&pathrev=391122
Fixes:
http://autobuild.buildroot.net/results/2ad/2ad27875ce5c16a111d54d452eb395257e9b5e2b/
Similar to how xlib_libXpm was fixed back in 2018, with 6653b0929f
(package/x11r7/xlib_libXpm: disable gettext detection when not needed).
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
26 lines
863 B
Makefile
26 lines
863 B
Makefile
################################################################################
|
|
#
|
|
# xapp_xload
|
|
#
|
|
################################################################################
|
|
|
|
XAPP_XLOAD_VERSION = 1.1.3
|
|
XAPP_XLOAD_SOURCE = xload-$(XAPP_XLOAD_VERSION).tar.bz2
|
|
XAPP_XLOAD_SITE = http://xorg.freedesktop.org/releases/individual/app
|
|
XAPP_XLOAD_LICENSE = MIT
|
|
XAPP_XLOAD_LICENSE_FILES = COPYING
|
|
XAPP_XLOAD_DEPENDENCIES = xlib_libXaw $(TARGET_NLS_DEPENDENCIES)
|
|
XAPP_XLOAD_CONF_OPTS = --with-appdefaultdir=/usr/share/X11/app-defaults
|
|
XAPP_XLOAD_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
|
# musl doesn't have rwhod.h, but xload can replace it with stubs
|
|
XAPP_XLOAD_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -DRLOADSTUB"
|
|
endif
|
|
|
|
ifeq ($(BR2_SYSTEM_ENABLE_NLS),)
|
|
XAPP_XLOAD_CONF_ENV += ac_cv_search_gettext=no
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|