blob: e9069639d769a1a1d81677e8649d658f57c48dbb (
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
39
40
41
|
# $NetBSD: Makefile,v 1.110 2020/06/12 14:48:38 sevan Exp $
DISTNAME= make-4.3
PKGNAME= g${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=make/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.gnu.org/software/make/make.html
COMMENT= GNU version of 'make' utility
LICENSE= gnu-gpl-v3
USE_FEATURES= snprintf
GNU_CONFIGURE= yes
TEXINFO_REQD+= 4.0
INFO_FILES= yes
# NOTE: the 'test' target requires perl, but since gmake does
# not otherwise require it, perl is not listed as an explicit
# dependency
TEST_TARGET= check
CONFIGURE_ARGS+= --program-prefix=g
# workaround for broken strndup
CONFIGURE_ARGS.MirBSD+= ac_cv_func_strndup=no
# XXX: Do not install gmake setgid and do not override the owner group
# XXX: based on possible /dev/kmem permissions.
CONFIGURE_ARGS+= ac_cv_func_getloadavg_setgid=no
AUTO_MKDIRS= yes
.include "options.mk"
post-install:
${LN} -sf ${PREFIX}/bin/gmake ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/make
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gmake.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/make.1
.include "../../mk/bsd.pkg.mk"
|