summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2006-09-09 02:39:11 +0000
committerobache <obache@pkgsrc.org>2006-09-09 02:39:11 +0000
commitaba5e6c463028c3b0542695e7351bd9b809071eb (patch)
treeb037af1f74437f30fcb675ab32f9608fb1274cb7
parent33d4b2b7d2bf1b25fa52f8a91b687743b836bdb3 (diff)
downloadpkgsrc-aba5e6c463028c3b0542695e7351bd9b809071eb.tar.gz
Usage of variable MAKEFILE in pkgsrc has been changed.
So no longer needs this hack.
-rw-r--r--devel/bmake/files/main.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/devel/bmake/files/main.c b/devel/bmake/files/main.c
index e270d435443..f39e7e1fe70 100644
--- a/devel/bmake/files/main.c
+++ b/devel/bmake/files/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.1.1.1 2005/12/02 00:03:00 sjg Exp $ */
+/* $NetBSD: main.c,v 1.2 2006/09/09 02:39:11 obache Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,7 +69,7 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: main.c,v 1.1.1.1 2005/12/02 00:03:00 sjg Exp $";
+static char rcsid[] = "$NetBSD: main.c,v 1.2 2006/09/09 02:39:11 obache Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
@@ -81,7 +81,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993\n\
#if 0
static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: main.c,v 1.1.1.1 2005/12/02 00:03:00 sjg Exp $");
+__RCSID("$NetBSD: main.c,v 1.2 2006/09/09 02:39:11 obache Exp $");
#endif
#endif /* not lint */
#endif
@@ -1136,16 +1136,7 @@ ReadMakefile(ClientData p, ClientData q __unused)
Parse_File("(stdin)", stdin);
Var_Set("MAKEFILE", "", VAR_GLOBAL, 0);
} else {
-#ifdef __INTERIX
- /*
- * XXX Hack from tv:
- * This system has broken filesystem support - can't
- * always distinguish b/w [Mm]akefile.
- */
- setMAKEFILE = FALSE;
-#else
setMAKEFILE = strcmp(fname, ".depend");
-#endif
/* if we've chdir'd, rebuild the path name */
if (strcmp(curdir, objdir) && *fname != '/') {