summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-03-31 10:14:22 +0000
committergrant <grant@pkgsrc.org>2004-03-31 10:14:22 +0000
commit922933018f44758b81324040e07106a27f22f32a (patch)
tree2e9a806c5069434f15a9d94c6c27c5d694fcb6f3 /mk/bsd.pkg.mk
parentf3465ec25ae1701bdc35b6e61d51590f314b51cb (diff)
downloadpkgsrc-922933018f44758b81324040e07106a27f22f32a.tar.gz
if NO_BUILD is defined, default to an empty USE_LANGUAGES.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 37c67c48548..8ed148a28ce 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -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+= CURDIR=${.CURDIR} DISTDIR=${DISTDIR} \
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.
#