summaryrefslogtreecommitdiff
path: root/devel/gettext-lib
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-05 07:06:15 +0000
committerjlam <jlam@pkgsrc.org>2004-02-05 07:06:15 +0000
commit4006dd8d3c16be15e01d264394098f7a0798db4c (patch)
tree12fb12151bde110b07a88dc1c8875abc30741865 /devel/gettext-lib
parent6ba053729abf2a4090e9d49f9fcf75a27a919827 (diff)
downloadpkgsrc-4006dd8d3c16be15e01d264394098f7a0798db4c.tar.gz
Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so that we can use its
value outside of buildlink-related files.
Diffstat (limited to 'devel/gettext-lib')
-rw-r--r--devel/gettext-lib/buildlink2.mk9
-rw-r--r--devel/gettext-lib/buildlink3.mk9
2 files changed, 8 insertions, 10 deletions
diff --git a/devel/gettext-lib/buildlink2.mk b/devel/gettext-lib/buildlink2.mk
index 427ceedefd1..d43c97108c7 100644
--- a/devel/gettext-lib/buildlink2.mk
+++ b/devel/gettext-lib/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.26 2004/02/05 06:58:03 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.27 2004/02/05 07:06:15 jlam Exp $
.if !defined(GETTEXT_BUILDLINK2_MK)
GETTEXT_BUILDLINK2_MK= # defined
@@ -46,10 +46,9 @@ _NEED_GNU_GETTEXT= YES
. endfor
.endif
-.if defined(BUILDLINK_PREFER_PKGSRC)
-. if empty(BUILDLINK_PREFER_PKGSRC) || \
- !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
- !empty(BUILDLINK_PREFER_PKGSRC:Mgettext)
+.if defined(PREFER_PKGSRC)
+. if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+ !empty(PREFER_PKGSRC:Mgettext)
_NEED_GNU_GETTEXT= YES
. endif
.endif
diff --git a/devel/gettext-lib/buildlink3.mk b/devel/gettext-lib/buildlink3.mk
index 9e797d8fdef..3eb540c8900 100644
--- a/devel/gettext-lib/buildlink3.mk
+++ b/devel/gettext-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2004/02/05 06:58:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2004/02/05 07:06:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GETTEXT_BUILDLINK3_MK:= ${GETTEXT_BUILDLINK3_MK}+
@@ -20,10 +20,9 @@ BUILDLINK_IS_BUILTIN.gettext= YES
. endif
.endif
-.if defined(BUILDLINK_PREFER_PKGSRC)
-. if empty(BUILDLINK_PREFER_PKGSRC) || \
- !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \
- !empty(BUILDLINK_PREFER_PKGSRC:Mgettext)
+.if defined(PREFER_PKGSRC)
+. if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
+ !empty(PREFER_PKGSRC:Mgettext)
BUILDLINK_USE_BUILTIN.gettext= NO
. endif
.endif