summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-09-05 09:44:01 +0000
committerjlam <jlam@pkgsrc.org>2003-09-05 09:44:01 +0000
commit8d3ca231628399288a02433dca87ec2306c535ae (patch)
tree13578994cd67b7fee775c52d67fa3d7c8a1af757 /mk/bsd.pkg.mk
parentf9ffe7690e64949de3179c8deeab63623735e6f1 (diff)
downloadpkgsrc-8d3ca231628399288a02433dca87ec2306c535ae.tar.gz
Check that USE_BUILDLINK2 is defined before including buildlink2.mk files.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 2f28264c8fb..8d21a154f3a 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1257 2003/09/03 15:05:43 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1258 2003/09/05 09:44:01 jlam Exp $
#
# This file is in the public domain.
#
@@ -440,7 +440,9 @@ MAKE_ENV+= CPP="${CPP}"
# Compiler Collection
#
.if !defined(USE_MIPSPRO) && !defined(USE_SUNPRO)
-. include "../../mk/gcc.buildlink2.mk"
+. if empty(USE_BUILDLINK2:M[nN][oO])
+. include "../../mk/gcc.buildlink2.mk"
+. endif
.endif
# export the flags needed to compile and link pthreaded code