summaryrefslogtreecommitdiff
path: root/devel/gettext-lib
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-11 11:30:49 +0000
committerjlam <jlam@pkgsrc.org>2004-02-11 11:30:49 +0000
commit7c68eb548f89a9227972cfc3d5801f9d5d62110a (patch)
tree52b113c0ef376141f7b0fef403939f60d89cf6ca /devel/gettext-lib
parent6dbc10b506e6cf94f57aa1cfe0910c783cc2ef5b (diff)
downloadpkgsrc-7c68eb548f89a9227972cfc3d5801f9d5d62110a.tar.gz
Move the INCOMPAT_FOO checks to a more natural location within the
block that decides whether package FOO is built-in or not. If the platform is listed in IMCOMPAT_FOO, then treat FOO as being not built-in.
Diffstat (limited to 'devel/gettext-lib')
-rw-r--r--devel/gettext-lib/buildlink3.mk28
1 files changed, 14 insertions, 14 deletions
diff --git a/devel/gettext-lib/buildlink3.mk b/devel/gettext-lib/buildlink3.mk
index 2ca37327a86..df8e615caa9 100644
--- a/devel/gettext-lib/buildlink3.mk
+++ b/devel/gettext-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2004/02/06 19:04:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2004/02/11 11:30:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GETTEXT_BUILDLINK3_MK:= ${GETTEXT_BUILDLINK3_MK}+
@@ -18,6 +18,18 @@ BUILDLINK_IS_BUILTIN.gettext= NO
. if exists(/usr/include/libintl.h)
BUILDLINK_IS_BUILTIN.gettext= YES
. endif
+#
+# The listed platforms have a broken (for the purposes of pkgsrc) version
+# of gettext-lib.
+#
+_INCOMPAT_GETTEXT= SunOS-*-*
+INCOMPAT_GETTEXT?= # empty
+. for _pattern_ in ${_INCOMPAT_GETTEXT} ${INCOMPAT_GETTEXT}
+. if !empty(MACHINE_PLATFORM:M${_pattern_})
+BUILDLINK_IS_BUILTIN.gettext= NO
+. endif
+. endfor
+MAKEFLAGS+= BUILDLINK_IS_BUILTIN.gettext=${BUILDLINK_IS_BUILTIN.gettext}
.endif
.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
@@ -52,20 +64,8 @@ BUILDLINK_USE_BUILTIN.gettext!= \
fi
. endif
. endfor
-#
-# The listed platforms have a broken (for the purposes of pkgsrc) version
-# of gettext-lib.
-#
-_INCOMPAT_GETTEXT= SunOS-*-*
-INCOMPAT_GETTEXT?= # empty
-. for _pattern_ in ${_INCOMPAT_GETTEXT} ${INCOMPAT_GETTEXT}
-. if !empty(MACHINE_PLATFORM:M${_pattern_})
-BUILDLINK_USE_BUILTIN.gettext= NO
-. endif
-. endfor
. endif
-MAKEFLAGS+= \
- BUILDLINK_USE_BUILTIN.gettext=${BUILDLINK_USE_BUILTIN.gettext}
+MAKEFLAGS+= BUILDLINK_USE_BUILTIN.gettext=${BUILDLINK_USE_BUILTIN.gettext}
.endif
.if !empty(BUILDLINK_USE_BUILTIN.gettext:M[nN][oO])