summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-13 00:16:00 +0000
committerjlam <jlam>2004-02-13 00:16:00 +0000
commitc16528b249e650488eb2edfc4e1bc8c60c54d653 (patch)
treef314785dd3ea93abb255ae4e2340734399899454 /lang
parentca479c63e451f0d76ed9cf811fb82e1223a77844 (diff)
downloadpkgsrc-c16528b249e650488eb2edfc4e1bc8c60c54d653.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')
-rw-r--r--lang/gcc3-c++/buildlink3.mk4
-rw-r--r--lang/gcc3-f77/buildlink3.mk4
-rw-r--r--lang/gcc3-java/buildlink3.mk4
-rw-r--r--lang/gcc3-objc/buildlink3.mk4
4 files changed, 8 insertions, 8 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
diff --git a/lang/gcc3-f77/buildlink3.mk b/lang/gcc3-f77/buildlink3.mk
index a2c431dd591..80c7723a3f7 100644
--- a/lang/gcc3-f77/buildlink3.mk
+++ b/lang/gcc3-f77/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}+
GCC3F77_BUILDLINK3_MK:= ${GCC3F77_BUILDLINK3_MK}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= gcc3f77
.endif
.if !empty(GCC3F77_BUILDLINK3_MK:M+)
-. if defined(GCC3_INSTALLTO_SUBPREFIX)
+. if ${GCC3_INSTALLTO_SUBPREFIX} != "gcc3"
GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX}
. endif
BUILDLINK_PACKAGES+= gcc3f77
diff --git a/lang/gcc3-java/buildlink3.mk b/lang/gcc3-java/buildlink3.mk
index 034f0bd8d50..f2c89bcd6f6 100644
--- a/lang/gcc3-java/buildlink3.mk
+++ b/lang/gcc3-java/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}+
GCC3JAVA_BUILDLINK3_MK:= ${GCC3JAVA_BUILDLINK3_MK}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= gcc3java
.endif
.if !empty(GCC3JAVA_BUILDLINK3_MK:M+)
-. if defined(GCC3_INSTALLTO_SUBPREFIX)
+. if ${GCC3_INSTALLTO_SUBPREFIX} != "gcc3"
GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX}
. endif
BUILDLINK_PACKAGES+= gcc3java
diff --git a/lang/gcc3-objc/buildlink3.mk b/lang/gcc3-objc/buildlink3.mk
index 1b431be0b36..01ccd8ad94f 100644
--- a/lang/gcc3-objc/buildlink3.mk
+++ b/lang/gcc3-objc/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}+
GCC3OBJC_BUILDLINK3_MK:= ${GCC3OBJC_BUILDLINK3_MK}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= gcc3objc
.endif
.if !empty(GCC3OBJC_BUILDLINK3_MK:M+)
-. if defined(GCC3_INSTALLTO_SUBPREFIX)
+. if ${GCC3_INSTALLTO_SUBPREFIX} != "gcc3"
GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX}
. endif
BUILDLINK_PACKAGES+= gcc3objc