summaryrefslogtreecommitdiff
path: root/lang/gcc49
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-09-06 08:20:28 +0000
committerjperkin <jperkin@pkgsrc.org>2014-09-06 08:20:28 +0000
commitc0c2f3c9a8d0679af8719364307ddd4f6dd73d93 (patch)
tree843449735bd95cd01f55168c5507e9bcb66bacfd /lang/gcc49
parentf8e8249815d783f8bd5142c9e9b9c6c9614af7a4 (diff)
downloadpkgsrc-c0c2f3c9a8d0679af8719364307ddd4f6dd73d93.tar.gz
Replace all references to _GCC_REQD with the appropriate logical value for
each GCC version. Using the variable causes impossible version constraints when a specific GCC is depended upon but the user is using something newer, as _GCC_REQD will be set to the higher value.
Diffstat (limited to 'lang/gcc49')
-rw-r--r--lang/gcc49/buildlink3.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/gcc49/buildlink3.mk b/lang/gcc49/buildlink3.mk
index 74dc2a0e8a4..ac1cb5a15b0 100644
--- a/lang/gcc49/buildlink3.mk
+++ b/lang/gcc49/buildlink3.mk
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.1 2014/09/04 18:43:11 jperkin Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2014/09/06 08:20:29 jperkin Exp $
BUILDLINK_TREE+= gcc49
.if !defined(GCC49_BUILDLINK3_MK)
GCC49_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.gcc49+= gcc49>=${_GCC_REQD}
+BUILDLINK_API_DEPENDS.gcc49+= gcc49>=4.9
BUILDLINK_ABI_DEPENDS.gcc49+= gcc49>=4.9.1
BUILDLINK_PKGSRCDIR.gcc49= ../../lang/gcc49
BUILDLINK_DEPMETHOD.gcc49?= build
@@ -19,7 +19,7 @@ BUILDLINK_AUTO_VARS.gcc49= no
# Packages that link against shared libraries need a full dependency.
.if defined(_USE_GCC_SHLIB)
-DEPENDS+= {gcc49,gcc49-libs}>=${_GCC_REQD}:../../lang/gcc49-libs
+DEPENDS+= {gcc49,gcc49-libs}>=4.9:../../lang/gcc49-libs
.endif
pkgbase := gcc49