d2ca14a3f1
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.86 2013/05/31 12:39:59 wiz Exp $
|
|
|
|
DISTNAME= make-3.82
|
|
PKGNAME= g${DISTNAME}
|
|
PKGREVISION= 7
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=make/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gnu.org/software/make/make.html
|
|
COMMENT= GNU version of 'make' utility
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
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
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CONFIGURE_ARGS+= --program-prefix=g
|
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST
|
|
|
|
.include "options.mk"
|
|
|
|
.if ${OPSYS} == "MirBSD"
|
|
# workaround for broken strndup
|
|
CONFIGURE_ARGS+= ac_cv_func_strndup=no
|
|
.endif
|
|
|
|
post-install:
|
|
${CHMOD} g-s ${DESTDIR}${PREFIX}/bin/gmake
|
|
${CHGRP} ${BINGRP} ${DESTDIR}${PREFIX}/bin/gmake
|
|
${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"
|