summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseb <seb>2002-08-19 18:39:14 +0000
committerseb <seb>2002-08-19 18:39:14 +0000
commit31366f079623bf94157b5fe0d40967fe12fa6ff9 (patch)
tree5819017c744f2b07a8fa6e93126912862ca1c5d2
parentb0a5e72cdaf8188b9564ebb80b87c540e6bd7321 (diff)
downloadpkgsrc-31366f079623bf94157b5fe0d40967fe12fa6ff9.tar.gz
Now by default the support of micro- and nano-second timestamp values provided
by stat(2) is disabled: it causes grief even for package building. This is adjustable by the GMAKE_NSEC_TIMESTAMPS variable. Bump PKGREVISION.
-rw-r--r--devel/gmake/Makefile11
-rw-r--r--mk/bsd.pkg.defaults.mk8
2 files changed, 17 insertions, 2 deletions
diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile
index c6d0a1cfb1c..91495728a53 100644
--- a/devel/gmake/Makefile
+++ b/devel/gmake/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.29 2002/02/18 15:14:11 seb Exp $
+# $NetBSD: Makefile,v 1.30 2002/08/19 18:39:16 seb Exp $
# FreeBSD Id: Makefile,v 1.16 1997/06/13 20:00:47 max Exp
#
DISTNAME= make-3.79.1
PKGNAME= gmake-3.79.1
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=make/}
@@ -18,6 +19,14 @@ CONFIGURE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
TEXINFO_OVERRIDE= YES
+.include "../../mk/bsd.prefs.mk"
+
+.if (${GMAKE_NSEC_TIMESTAMPS} == "NO")
+CONFIGURE_ARGS+= --disable-nsec-timestamps
+.endif
+
+BUILD_DEFS+= GMAKE_NSEC_TIMESTAMPS
+
post-extract:
${MV} ${WRKSRC}/make.texinfo ${WRKSRC}/make.texinfo.orig
${SED} '/@dircategory/s|.*|@dircategory Programming \& development tools|' \
diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk
index 8f90ea39222..1bc8007f358 100644
--- a/mk/bsd.pkg.defaults.mk
+++ b/mk/bsd.pkg.defaults.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.81 2002/08/15 00:34:04 fredb Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.82 2002/08/19 18:39:14 seb Exp $
#
# A file providing defaults for pkgsrc and the packages collection.
@@ -575,6 +575,12 @@ GAWK_ENABLE_PORTALS?= NO
# Possible: YES, NO
# Default: NO
+GMAKE_NSEC_TIMESTAMPS?= NO
+# Used by GNU make to enable/disable support of micro- and nano-second
+# timestamp values provided by stat(2).
+# Possible: YES, NO
+# Default: NO
+
#GQMPEG_NO_JAPANESE?= yes
# Can be enabled to handle keep gqmpeg from interpreting ID3 tags
# different, to make it possible to read japanese language tags, which