pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Check that USE_BUILDLINK2 is defined before includi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f56b06c9ab8
branches:  trunk
changeset: 460831:3f56b06c9ab8
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Sep 05 09:44:01 2003 +0000

description:
Check that USE_BUILDLINK2 is defined before including buildlink2.mk files.

diffstat:

 mk/bsd.pkg.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r dbe2dea16370 -r 3f56b06c9ab8 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Fri Sep 05 09:11:12 2003 +0000
+++ b/mk/bsd.pkg.mk     Fri Sep 05 09:44:01 2003 +0000
@@ -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 @@
 #                    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



Home | Main Index | Thread Index | Old Index