summaryrefslogtreecommitdiff
path: root/lang/gcc3-c++/buildlink3.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-13 00:16:00 +0000
committerjlam <jlam@pkgsrc.org>2004-02-13 00:16:00 +0000
commit5f93ce14403168fc524a0586718e06d5af8bdda3 (patch)
treef314785dd3ea93abb255ae4e2340734399899454 /lang/gcc3-c++/buildlink3.mk
parentabe16943047d46dc5e4c1aa55de8ba52d3cd98c4 (diff)
downloadpkgsrc-5f93ce14403168fc524a0586718e06d5af8bdda3.tar.gz
Fix the check for the GCC3_INSTALLTO_SUBPREFIX so that it matches the
behaviour in gcc3-c/Makefile.common.
Diffstat (limited to 'lang/gcc3-c++/buildlink3.mk')
-rw-r--r--lang/gcc3-c++/buildlink3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc3-c++/buildlink3.mk b/lang/gcc3-c++/buildlink3.mk
index b3b4a6ce668..5695cfadd9e 100644
--- a/lang/gcc3-c++/buildlink3.mk
+++ b/lang/gcc3-c++/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2004/02/05 03:45:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2004/02/13 00:16:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC3CXX_BUILDLINK3_MK:= ${GCC3CXX_BUILDLINK3_MK}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= gcc3cxx
.endif
.if !empty(GCC3CXX_BUILDLINK3_MK:M+)
-. if defined(GCC3_INSTALLTO_SUBPREFIX)
+. if ${GCC3_INSTALLTO_SUBPREFIX} != "gcc3"
GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX}
. endif
BUILDLINK_PACKAGES+= gcc3cxx