pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/gcc3-c Include "/usr/pkg/gcc3/lib" in the list of...
details: https://anonhg.NetBSD.org/pkgsrc/rev/150ee4d62def
branches: trunk
changeset: 479401:150ee4d62def
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Aug 13 18:30:29 2004 +0000
description:
Include "/usr/pkg/gcc3/lib" in the list of directories that contain gcc3
libraries.
diffstat:
lang/gcc3-c/buildlink3.mk | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 8de66db7bdcb -r 150ee4d62def lang/gcc3-c/buildlink3.mk
--- a/lang/gcc3-c/buildlink3.mk Fri Aug 13 18:17:37 2004 +0000
+++ b/lang/gcc3-c/buildlink3.mk Fri Aug 13 18:30:29 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2004/05/17 21:32:34 seb Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2004/08/13 18:30:29 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC3_C_BUILDLINK3_MK:= ${GCC3_C_BUILDLINK3_MK}+
@@ -24,8 +24,14 @@
. endif
BUILDLINK_DEPENDS.gcc3-c+= gcc3${GCC3_PKGMODIF}-c>=${_GCC_REQD}
BUILDLINK_PKGSRCDIR.gcc3-c?= ../../lang/gcc3-c
-BUILDLINK_LIBDIRS.gcc3-c?= \
- lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3-c}\///}
+BUILDLINK_GCC3_LIBDIRS= lib
+. if defined(GCC3_INSTALLTO_SUBPREFIX)
+BUILDLINK_GCC3_LIBDIRS+= ${GCC3_INSTALLTO_SUBPREFIX}/lib
+. else
+BUILDLINK_GCC3_LIBDIRS+= gcc3/lib
+. endif
+BUILDLINK_GCC3_LIBDIRS+= ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3-c}\///}
+BUILDLINK_LIBDIRS.gcc3-c?= ${BUILDLINK_GCC3_LIBDIRS}
# Packages that link against shared libraries need a full dependency.
. if defined(USE_GCC_SHLIB)
Home |
Main Index |
Thread Index |
Old Index