# $NetBSD: Makefile.common,v 1.7 2020/03/14 09:59:01 roy Exp $ # used by devel/libblkid/Makefile # used by devel/libuuid/Makefile # used by x11/mcookie/Makefile DISTNAME= util-linux-2.32.1 MASTER_SITES= https://www.kernel.org/pub/linux/utils/util-linux/v${PKGVERSION_NOREV:R}/ EXTRACT_SUFX= .tar.xz EXTRACT_USING= bsdtar MAINTAINER?= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/karelzak/util-linux DISTINFO_FILE= ${.CURDIR}/../../devel/libuuid/distinfo PATCHDIR= ${.CURDIR}/../../devel/libuuid/patches USE_GCC_RUNTIME= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-all-programs CONFIGURE_ARGS+= --disable-bash-completion CONFIGURE_ARGS+= --without-ncurses CONFIGURE_ARGS+= --without-ncursesw CONFIGURE_ARGS+= --without-python # netbsd libintl lacks _nl_expand_alias, resulting in NLS being # disabled. for consistency, disable for all CONFIGURE_ARGS+= --disable-nls TEST_TARGET= check .include "../../mk/bsd.fast.prefs.mk" # XXX PR pkg/52877: configure is broken on netbsd6 .if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0123456].*)) USE_TOOLS+= ksh CONFIG_SHELL= ksh .endif