kumquat-buildroot/package/heimdal/heimdal.mk
Bernd Kuhls 94d1a54d8b Revert "heimdal: disable parallel make"
This reverts commit f6980126f2.

Parallel make was disabled back in 2017:
https://git.buildroot.net/buildroot/commit/?id=f6980126f26c63421d04a32b6710d9e3a380476a

Build-test with -j99 was successful.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-03-12 20:44:08 +01:00

53 lines
1.5 KiB
Makefile

################################################################################
#
# heimdal
#
################################################################################
HEIMDAL_VERSION = 7.7.0
HEIMDAL_SITE = https://github.com/heimdal/heimdal/releases/download/heimdal-$(HEIMDAL_VERSION)
HOST_HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf
HEIMDAL_INSTALL_STAGING = YES
# static because of -fPIC issues with e2fsprogs on x86_64 host
HOST_HEIMDAL_CONF_OPTS = \
--disable-shared \
--enable-static \
--without-openldap \
--without-capng \
--with-db-type-preference= \
--without-sqlite3 \
--without-libintl \
--without-openssl \
--without-berkeley-db \
--without-readline \
--without-libedit \
--without-hesiod \
--without-x \
--disable-mdb-db \
--disable-ndbm-db \
--disable-heimdal-documentation
# Don't use compile_et from e2fsprogs as it raises a build failure with samba4
HOST_HEIMDAL_CONF_ENV = ac_cv_prog_COMPILE_ET=no MAKEINFO=true
HEIMDAL_LICENSE = BSD-3-Clause
HEIMDAL_LICENSE_FILES = LICENSE
HEIMDAL_CPE_ID_VENDOR = heimdal_project
# We need compile_et for samba4
define HOST_HEIMDAL_INSTALL_COMPILE_ET
$(INSTALL) -m 0755 $(@D)/lib/com_err/compile_et \
$(HOST_DIR)/bin/compile_et
endef
# We need asn1_compile in the PATH for samba4
define HOST_HEIMDAL_MAKE_SYMLINK
ln -sf $(HOST_DIR)/libexec/heimdal/asn1_compile \
$(HOST_DIR)/bin/asn1_compile
endef
HOST_HEIMDAL_POST_INSTALL_HOOKS += \
HOST_HEIMDAL_INSTALL_COMPILE_ET \
HOST_HEIMDAL_MAKE_SYMLINK
$(eval $(host-autotools-package))