pkgsrc-wip/compat32_libuuid/Makefile.common

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile.common,v 1.5 2018/11/04 16:51:30 bsiegert 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
# 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