pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Add BUILTIN_PACKAGES, this will contain ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5ae798479b6
branches:  trunk
changeset: 494464:b5ae798479b6
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue May 24 15:41:05 2005 +0000

description:
Add BUILTIN_PACKAGES, this will contain all builtin dependencies used
in packages, e.g on my NetBSD system:

$ cd pkgsrc/graphics/gimp && make show-var VARNAME=BUILTIN_PACKAGES
bzip2 heimdal openssl db1 gettext iconv zlib pthread
$

Ok'ed by jlam.

diffstat:

 mk/buildlink3/bsd.builtin.mk |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r dee6330c9daa -r b5ae798479b6 mk/buildlink3/bsd.builtin.mk
--- a/mk/buildlink3/bsd.builtin.mk      Tue May 24 15:39:48 2005 +0000
+++ b/mk/buildlink3/bsd.builtin.mk      Tue May 24 15:41:05 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.builtin.mk,v 1.3 2004/11/10 17:39:03 jlam Exp $
+# $NetBSD: bsd.builtin.mk,v 1.4 2005/05/24 15:41:05 xtraeme Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -144,6 +144,15 @@
 # is here to set the default for any package added to BUILDLINK_PACKAGES
 # by any of the above code.
 #
+# BUILTIN_PACKAGES will contain the list of all builtin
+# dependencies used in packages.
+#
+
 .for _pkg_ in ${BUILDLINK_PACKAGES}
 USE_BUILTIN.${_pkg_}?= no
+BUILTIN_PACKAGES?=     # empty
+.  if !empty(USE_BUILTIN.${_pkg_}:M[Yy][Ee][Ss])
+BUILTIN_PACKAGES+=     ${_pkg_}
+.  endif
 .endfor
+



Home | Main Index | Thread Index | Old Index