pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk if NO_BUILD is defined, default to an empty USE_LAN...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f1205f375677
branches: trunk
changeset: 471818:f1205f375677
user: grant <grant%pkgsrc.org@localhost>
date: Wed Mar 31 10:14:22 2004 +0000
description:
if NO_BUILD is defined, default to an empty USE_LANGUAGES.
diffstat:
mk/bsd.pkg.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 4611b4951106 -r f1205f375677 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Wed Mar 31 10:11:46 2004 +0000
+++ b/mk/bsd.pkg.mk Wed Mar 31 10:14:22 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1432 2004/03/31 10:07:47 grant Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1433 2004/03/31 10:14:22 grant Exp $
#
# This file is in the public domain.
#
@@ -1362,6 +1362,11 @@
SCRIPTS_ENV+= BATCH=yes
.endif
+# If NO_BUILD is defined, default to not needing a compiler.
+.if defined(NO_BUILD)
+USE_LANGUAGES?= # empty
+.endif
+
# Get the proper dependencies and set the PATH to use the compiler
# named in PKGSRC_COMPILER.
#
Home |
Main Index |
Thread Index |
Old Index