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
commiteee7fe372c00086f3b6472f4c4f8b26cf0412b68 (patch)
tree2fa756b054cb43c39a6387e80d614158e8b16b6c /lang/gcc3-c++
parent43b8e9051e6691f4692772a4ffb67c40948b3cdb (diff)
downloadpkgsrc-eee7fe372c00086f3b6472f4c4f8b26cf0412b68.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)