mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 21:43:30 +08:00
d0653e3b2c
Fix the following build failure raised since bump of glibc to version 2.39 in commitb5680f53d6
: /home/autobuild/autobuild/instance-12/output-1/host/lib/gcc/riscv32-buildroot-linux-gnu/12.3.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: cannot find -lcrypt: No such file or directory Fixes:b5680f53d6
- http://autobuild.buildroot.org/results/b0aaffaf951725186ae078ce101edb24c963c6a3 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# whois
|
|
#
|
|
################################################################################
|
|
|
|
WHOIS_VERSION = 5.5.14
|
|
WHOIS_SITE = http://snapshot.debian.org/archive/debian/20221017T031443Z/pool/main/w/whois
|
|
WHOIS_SOURCE = whois_$(WHOIS_VERSION).tar.xz
|
|
WHOIS_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
$(if $(BR2_PACKAGE_LIBIDN2),libidn2) \
|
|
$(if $(BR2_PACKAGE_LIBXCRYPT),libxcrypt) \
|
|
$(TARGET_NLS_DEPENDENCIES)
|
|
WHOIS_MAKE_ENV = $(TARGET_MAKE_ENV)
|
|
WHOIS_MAKE_OPTS = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
|
LIBS="$(WHOIS_EXTRA_LIBS)"
|
|
WHOIS_LICENSE = GPL-2.0+
|
|
WHOIS_LICENSE_FILES = COPYING
|
|
WHOIS_EXTRA_LIBS = $(TARGET_NLS_LIBS)
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
WHOIS_DEPENDENCIES += libiconv
|
|
WHOIS_EXTRA_LIBS += -liconv
|
|
WHOIS_MAKE_ENV += HAVE_ICONV=1
|
|
endif
|
|
|
|
ifeq ($(BR2_SYSTEM_ENABLE_NLS),y)
|
|
WHOIS_BUILD_TARGETS =
|
|
WHOIS_INSTALL_TARGETS = install
|
|
else
|
|
WHOIS_BUILD_TARGETS = Makefile.depend whois mkpasswd
|
|
WHOIS_INSTALL_TARGETS = install-whois install-mkpasswd
|
|
endif
|
|
|
|
define WHOIS_BUILD_CMDS
|
|
$(WHOIS_MAKE_ENV) $(MAKE) $(WHOIS_MAKE_OPTS) \
|
|
$(WHOIS_BUILD_TARGETS) -C $(@D)
|
|
endef
|
|
|
|
define WHOIS_INSTALL_TARGET_CMDS
|
|
$(WHOIS_MAKE_ENV) $(MAKE) $(WHOIS_MAKE_OPTS) \
|
|
BASEDIR="$(TARGET_DIR)" $(WHOIS_INSTALL_TARGETS) -C $(@D)
|
|
endef
|
|
|
|
$(eval $(generic-package))
|