summaryrefslogtreecommitdiff
path: root/lang/gcc3-c++
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-05 00:28:35 +0000
committerjlam <jlam@pkgsrc.org>2004-02-05 00:28:35 +0000
commitb5863b48050e7c72175546aae02c71f1c56d93ff (patch)
tree2fa756b054cb43c39a6387e80d614158e8b16b6c /lang/gcc3-c++
parentc3c063f95ded77f0a156a0e7f31f54a922b50187 (diff)
downloadpkgsrc-b5863b48050e7c72175546aae02c71f1c56d93ff.tar.gz
List the correct directories for finding GCC libraries so that they will
be added automatically to library and run-time library search paths.
Diffstat (limited to 'lang/gcc3-c++')
-rw-r--r--lang/gcc3-c++/buildlink3.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/gcc3-c++/buildlink3.mk b/lang/gcc3-c++/buildlink3.mk
index 82ec44fd243..cfd01303a79 100644
--- a/lang/gcc3-c++/buildlink3.mk
+++ b/lang/gcc3-c++/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2004/02/01 14:05:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2004/02/05 00:28:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC3CXX_BUILDLINK3_MK:= ${GCC3CXX_BUILDLINK3_MK}+
@@ -13,6 +13,8 @@ BUILDLINK_PACKAGES+= gcc3cxx
BUILDLINK_DEPENDS+= gcc3cxx
BUILDLINK_DEPENDS.gcc3cxx+= gcc3${GCC3_PKGMODIF}-c++>=${_GCC_REQD}
BUILDLINK_PKGSRCDIR.gcc3cxx?= ../../lang/gcc3-c++
+BUILDLINK_LIBDIRS.gcc3cxx?= \
+ lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3cxx}\///}
# Packages that link against shared libraries need a full dependency.
. if defined(USE_GCC_SHLIB)