pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc Add a buildlink3.mk file for use by bsd.compi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e5f7cc6937a
branches:  trunk
changeset: 467488:5e5f7cc6937a
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Feb 01 14:09:45 2004 +0000

description:
Add a buildlink3.mk file for use by bsd.compiler.mk.  Note that we always
add the dependency regardless of the depth.

diffstat:

 lang/gcc/buildlink3.mk |  22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r 346dc2cd74e9 -r 5e5f7cc6937a lang/gcc/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gcc/buildlink3.mk    Sun Feb 01 14:09:45 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/01 14:09:45 jlam Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+GCC_BUILDLINK3_MK:=    ${GCC_BUILDLINK3_MK}+
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(GCC_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=           gcc
+BUILDLINK_DEPENDS+=            gcc
+BUILDLINK_DEPENDS.gcc+=                gcc>=${_GCC_REQD}
+BUILDLINK_PKGSRCDIR.gcc?=      ../../lang/gcc
+
+# Packages that link against shared libraries need a full dependency.
+.  if defined(USE_GCC_SHLIB)
+BUILDLINK_DEPMETHOD.gcc+=      full
+.  else
+BUILDLINK_DEPMETHOD.gcc?=      build
+.  endif
+.endif # GCC_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index