svn commit: r215208 - projects/jbuild/usr.bin/make

David E. O'Brien obrien at FreeBSD.org
Fri Nov 12 22:10:20 UTC 2010


Author: obrien
Date: Fri Nov 12 22:10:19 2010
New Revision: 215208
URL: http://svn.freebsd.org/changeset/base/215208

Log:
  * jbuild(1) does not rely on SQL libs.
  * #ifdef out the use of INCMK - which is irrelevant since the *.dirdep
    file was introduced.
  
  Obtained from: Juniper Networks

Modified:
  projects/jbuild/usr.bin/make/job.c

Modified: projects/jbuild/usr.bin/make/job.c
==============================================================================
--- projects/jbuild/usr.bin/make/job.c	Fri Nov 12 22:03:02 2010	(r215207)
+++ projects/jbuild/usr.bin/make/job.c	Fri Nov 12 22:10:19 2010	(r215208)
@@ -564,10 +564,14 @@ meta_exit(void)
 	 * If there is no include makefile list variable defined, then
 	 * we can't update dependencies.
 	 */
+#ifdef NEED_INCMK
+	    /* This is OBE by the .dirdep file. */
 	if ((p_incmk = Var_Value("INCMK", VAR_GLOBAL)) != NULL) {
 		/* Initialise the include makefile name list. */
 		jdirdep_incmk(Var_Value("INCMK", VAR_GLOBAL));
-
+#else
+	{
+#endif
 		p_machine = Var_Value("MACHINE", VAR_GLOBAL);
 		p_machine_arch = Var_Value("MACHINE_ARCH", VAR_GLOBAL);
 


More information about the svn-src-projects mailing list