summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-10-30 22:04:39 +0000
committerwiz <wiz@pkgsrc.org>2011-10-30 22:04:39 +0000
commit2b7085f8d6897154d5e5a2ee591ad75a3fff0005 (patch)
tree81b6f66890a9064e1f091968bb21a0e0e0a1c0b4
parent5eda45e207c10fb93d97623117318ba916e08892 (diff)
downloadpkgsrc-2b7085f8d6897154d5e5a2ee591ad75a3fff0005.tar.gz
Check for /usr/var/README.c as well.
From Brian A Seklecki on pkgsrc-users.
-rw-r--r--mk/compiler/xlc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/xlc.mk b/mk/compiler/xlc.mk
index 48b8792efd0..85ab9b5a5c0 100644
--- a/mk/compiler/xlc.mk
+++ b/mk/compiler/xlc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: xlc.mk,v 1.24 2009/06/02 22:28:52 joerg Exp $
+# $NetBSD: xlc.mk,v 1.25 2011/10/30 22:04:39 wiz Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -50,7 +50,7 @@ COMPILER_XLC_MK= defined
.if !defined(XLCBASE)
. if exists(/usr/vacpp/README)
XLCBASE= /usr/vacpp
-. elif exists(/usr/vac/README)
+. elif exists(/usr/vac/README) || exists(/usr/vac/README.c)
XLCBASE= /usr/vac
. elif exists(/opt/ibmcmp/vacpp/6.0/README)
XLCBASE= /opt/ibmcmp/vacpp/6.0