summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2004-04-24 22:10:14 +0000
committerjlam <jlam>2004-04-24 22:10:14 +0000
commit85307acbcbf200bf98af443af5f14a84a7a4a2ad (patch)
tree60d661d5b1df34a0aaa91d0dfb0a0adacd200a73
parent8e5132f5459746d6873311eb17bd60975339160f (diff)
downloadpkgsrc-85307acbcbf200bf98af443af5f14a84a7a4a2ad.tar.gz
Allow GCC_PREFIX to the in the rpath for binaries and libraries built as
part of the gcc3-* sub-packages.
-rw-r--r--lang/gcc3/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/gcc3/Makefile.common b/lang/gcc3/Makefile.common
index 7c70eb08e3a..b34d6897576 100644
--- a/lang/gcc3/Makefile.common
+++ b/lang/gcc3/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2004/04/10 16:05:05 seb Exp $
+# $NetBSD: Makefile.common,v 1.3 2004/04/24 22:10:14 jlam Exp $
GCC_VERSION= 3.3.3
DISTNAME= gcc-${GCC_VERSION}
@@ -37,6 +37,8 @@ FILES_SUBST+= GCC_PREFIX=${GCC_PREFIX}
FILES_SUBST+= PKGNAME=${PKGNAME}
MESSAGE_SUBST+= GCC_PREFIX=${GCC_PREFIX}
+BUILDLINK_PASSTHRU_RPATHDIRS+= ${GCC_PREFIX}
+
.if defined(INFO_FILES)
INFO_DIR= ${GCC_SUBPREFIX}/info
.endif