summaryrefslogtreecommitdiff
path: root/lang/gcc
diff options
context:
space:
mode:
authorgavan <gavan@pkgsrc.org>2004-06-29 13:17:42 +0000
committergavan <gavan@pkgsrc.org>2004-06-29 13:17:42 +0000
commit42140f0b66def6db30c424ccce6b42bac72e6f33 (patch)
treeb25cd3f03184eb1c86ce202f1285ec4882c7ed08 /lang/gcc
parente05c4970618e87c98eae9121f8848cb2f69680f5 (diff)
downloadpkgsrc-42140f0b66def6db30c424ccce6b42bac72e6f33.tar.gz
gcc installs in a subdirectory of ${BUILDLINK_PREFIX.gcc}, so make
sure that appropriate subdirectory is passed in BUILDLINK_LIBDIRS.gcc. Fixes PR 26109. OK'd by grant.
Diffstat (limited to 'lang/gcc')
-rw-r--r--lang/gcc/buildlink3.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/gcc/buildlink3.mk b/lang/gcc/buildlink3.mk
index d6fee20ee6b..489f88acbcf 100644
--- a/lang/gcc/buildlink3.mk
+++ b/lang/gcc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2004/03/18 09:12:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2004/06/29 13:17:42 gavan Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC_BUILDLINK3_MK:= ${GCC_BUILDLINK3_MK}+
@@ -16,7 +16,8 @@ BUILDLINK_PACKAGES+= gcc
BUILDLINK_DEPENDS.gcc+= gcc>=${_GCC_REQD}
BUILDLINK_PKGSRCDIR.gcc?= ../../lang/gcc
BUILDLINK_LIBDIRS.gcc?= \
- lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc}\///}
+ ${_GCC_PREFIX:S/^${BUILDLINK_PREFIX.gcc}\////}lib \
+ ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc}\///}
# Packages that link against shared libraries need a full dependency.
. if defined(USE_GCC_SHLIB)