blob: a440d9c694cad89ee91d196328893cbfc6cee518 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile.common,v 1.6 2019/11/03 10:39:19 rillig 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
|