summaryrefslogtreecommitdiffstats
path: root/usr.bin/bmake
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-12-27 16:43:22 +0000
committerngie <ngie@FreeBSD.org>2014-12-27 16:43:22 +0000
commit8add61763b21b8a771358ffb7487539302c74b89 (patch)
tree6e0c6cbe41773548a3cf1cc3e78f0f9603cfc512 /usr.bin/bmake
parent47ae0568410e2e98be8543ec7afddbbabda95453 (diff)
downloadFreeBSD-src-8add61763b21b8a771358ffb7487539302c74b89.zip
FreeBSD-src-8add61763b21b8a771358ffb7487539302c74b89.tar.gz
MFC bmake changes to stable/10 (r255285,r255916,r258113,r258114,r261212,r266760,r268437)
Discussed with: sjg r255285: If MAKE_JOB_ERROR_TOKEN is set to false, do not put an error token ("E") into the job queue. This avoids closing down an entire build on failure of one branch. Probably has no use outside the context of universe/tinderbox. Reviewed by: obrien r255916: Fix Fx syntax. PR: 182269 Approved by: re@ r258113: Avoid SEGV when passed NULL for list r258114: Don't SEGV when Hash_Table is uninitialized r261212: Merge bmake-20140101 from vendor r266760: Portmgr no longer need the UL hack. Reviewed by: obrien r268437: Update to bmake-20140620 Main change is detection of malformed variable references. Reviewed by: obrien
Diffstat (limited to 'usr.bin/bmake')
-rw-r--r--usr.bin/bmake/Makefile6
-rw-r--r--usr.bin/bmake/Makefile.config4
-rw-r--r--usr.bin/bmake/config.h13
3 files changed, 18 insertions, 5 deletions
diff --git a/usr.bin/bmake/Makefile b/usr.bin/bmake/Makefile
index ed3751e..c693713 100644
--- a/usr.bin/bmake/Makefile
+++ b/usr.bin/bmake/Makefile
@@ -14,10 +14,10 @@ CFLAGS+= -I${.CURDIR}
CLEANDIRS+= FreeBSD
CLEANFILES+= bootstrap
-# $Id: Makefile,v 1.20 2013/09/04 15:42:03 sjg Exp $
+# $Id: Makefile,v 1.27 2014/06/20 14:51:54 sjg Exp $
# Base version on src date
-MAKE_VERSION= 20130904
+MAKE_VERSION= 20140620
PROG?= ${.CURDIR:T}
@@ -84,7 +84,7 @@ SRCS+= ${LIBOBJS:T:.o=.c}
prefix?= /usr
srcdir?= ${.CURDIR}
-DEFAULT_SYS_PATH?= .../share/mk:${prefix}/share/mk
+DEFAULT_SYS_PATH?= ${prefix}/share/mk
CPPFLAGS+= -DUSE_META
CFLAGS+= ${CPPFLAGS}
diff --git a/usr.bin/bmake/Makefile.config b/usr.bin/bmake/Makefile.config
index e4c4d3d..7110870 100644
--- a/usr.bin/bmake/Makefile.config
+++ b/usr.bin/bmake/Makefile.config
@@ -19,3 +19,7 @@ LIBOBJS= ${LIBOBJDIR}stresep$U.o
LDADD=
USE_META= yes
FILEMON_H= /usr/include/dev/filemon/filemon.h
+BMAKE_PATH_MAX?= 1024
+# used if MAXPATHLEN not defined
+CPPFLAGS+= -DBMAKE_PATH_MAX=${BMAKE_PATH_MAX}
+
diff --git a/usr.bin/bmake/config.h b/usr.bin/bmake/config.h
index 546af84..0e4e32d 100644
--- a/usr.bin/bmake/config.h
+++ b/usr.bin/bmake/config.h
@@ -146,6 +146,9 @@
`HAVE_STRUCT_STAT_ST_RDEV' instead. */
#define HAVE_ST_RDEV 1
+/* Define to 1 if you have the `sysctl' function. */
+#define HAVE_SYSCTL 1
+
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
@@ -166,6 +169,9 @@
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
+/* Define to 1 if you have the <sys/sysctl.h> header file. */
+#define HAVE_SYS_SYSCTL_H 1
+
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
@@ -230,7 +236,7 @@
#define PACKAGE_NAME "bmake"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "bmake 20130706"
+#define PACKAGE_STRING "bmake 20140214"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "bmake"
@@ -239,7 +245,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
-#define PACKAGE_VERSION "20130706"
+#define PACKAGE_VERSION "20140214"
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
@@ -300,6 +306,9 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
/* #undef _POSIX_SOURCE */
+/* C99 function name */
+/* #undef __func__ */
+
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
OpenPOWER on IntegriCloud