summaryrefslogtreecommitdiff
path: root/lang/gcc3-objc
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-objc
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-objc')
-rw-r--r--lang/gcc3-objc/buildlink3.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/gcc3-objc/buildlink3.mk b/lang/gcc3-objc/buildlink3.mk
index d7a069d3177..d0254073f37 100644
--- a/lang/gcc3-objc/buildlink3.mk
+++ b/lang/gcc3-objc/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}+
GCC3OBJC_BUILDLINK3_MK:= ${GCC3OBJC_BUILDLINK3_MK}+
@@ -13,6 +13,8 @@ BUILDLINK_PACKAGES+= gcc3objc
BUILDLINK_DEPENDS+= gcc3objc
BUILDLINK_DEPENDS.gcc3objc+= gcc3${GCC3_PKGMODIF}-objc>=${_GCC_REQD}
BUILDLINK_PKGSRCDIR.gcc3objc?= ../../lang/gcc3-objc
+BUILDLINK_LIBDIRS.gcc3objc?= \
+ lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3objc}\///}
# Packages that link against shared libraries need a full dependency.
. if defined(USE_GCC_SHLIB)