47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.113 2020/09/12 05:58:40 rillig Exp $
|
|
|
|
# Update to 4.3 is on hold because of failure to build firefox,
|
|
# openjdk and perhaps others. Upgrading requires a proposal on
|
|
# tech-pkg and consensus that it is safe.
|
|
# See https://lists.gnu.org/archive/html/info-gnu/2020-01/msg00004.html
|
|
DISTNAME= make-4.2.1
|
|
PKGNAME= g${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=make/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
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"
|