pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc3-c Fix lossage from buildlink3.mk files not b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23953b2c695a
branches:  trunk
changeset: 467727:23953b2c695a
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 05 20:58:41 2004 +0000

description:
Fix lossage from buildlink3.mk files not being included by bsd.prefs.mk
as a result of recent changes in mk/compiler.  This fixes seeing the
mysterious "_gcc3" when building gcc3-* packages.

diffstat:

 lang/gcc3-c/buildlink3.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 25e51b3ad9ec -r 23953b2c695a lang/gcc3-c/buildlink3.mk
--- a/lang/gcc3-c/buildlink3.mk Thu Feb 05 20:37:16 2004 +0000
+++ b/lang/gcc3-c/buildlink3.mk Thu Feb 05 20:58:41 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2004/02/05 03:45:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2004/02/05 20:58:41 jlam Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 GCC3C_BUILDLINK3_MK:=  ${GCC3C_BUILDLINK3_MK}+
@@ -11,7 +11,13 @@
 
 .if !empty(GCC3C_BUILDLINK3_MK:M+)
 .  if defined(GCC3_INSTALLTO_SUBPREFIX)
+#
+# "gcc3" is the directory named in pkgsrc/lang/gcc3-c/Makefile.common"
+# as GCC3_DEFAULT_SUBPREFIX.
+#
+.    if ${GCC3_INSTALLTO_SUBPREFIX} != "gcc3"
 GCC3_PKGMODIF=                 _${GCC3_INSTALLTO_SUBPREFIX}
+.    endif
 .  endif
 BUILDLINK_PACKAGES+=           gcc3c
 BUILDLINK_DEPENDS.gcc3c+=      gcc3${GCC3_PKGMODIF}-c>=${_GCC_REQD}



Home | Main Index | Thread Index | Old Index