summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-07 06:10:32 +0000
committerjlam <jlam>2002-08-07 06:10:32 +0000
commit67cf798c55c9c044112908daa6c14599fd3165a5 (patch)
tree6a4bcdaefbca611c5858b32f72cc017cc3ad3a52 /converters
parent0ee731f839c318bb9b323851bd98eb3015ab9782 (diff)
downloadpkgsrc-67cf798c55c9c044112908daa6c14599fd3165a5.tar.gz
Create new variables INCOMPAT_ZLIB, INCOMPAT_BZIP2, INCOMPAT_READLINE,
INCOMPAT_GETTEXT that are analogous to INCOMPAT_ICONV and contain lists of shell wildcards intended to match against ${MACHINE_PLATFORM}. These variables are used to note those platforms that have the named packages in the base system but are incompatible in some way from the pkgsrc version of the same package. Change INCOMPAT_CURSES to have the same sematics as above. These variables allow much greater precision in specifying which platforms have broken (for the purposes of pkgsrc) versions of software in the base system that must be ignored. The buildlink.mk files for these packages define private _INCOMPAT_* versions of these variables, and they contain the default lists of platforms that are known to have incompatible software bits. This addresses pkg/17775 submitted by Julien T. Letessier <julien.letessier at sun dot com>.
Diffstat (limited to 'converters')
-rw-r--r--converters/libiconv/buildlink.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/converters/libiconv/buildlink.mk b/converters/libiconv/buildlink.mk
index 81b66d126ce..2d2c1fc0201 100644
--- a/converters/libiconv/buildlink.mk
+++ b/converters/libiconv/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.11 2002/08/05 21:26:04 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.12 2002/08/07 06:10:33 jlam Exp $
#
# This Makefile fragment is included by packages that use libiconv.
#
@@ -27,8 +27,9 @@ _NEED_ICONV= NO
. else
_NEED_ICONV= YES
. endif
-_INCOMPAT_ICONV= NetBSD-*-* ${INCOMPAT_ICONV}
-. for _pattern_ in ${_INCOMPAT_ICONV}
+_INCOMPAT_ICONV?= # should be set from defs.${OPSYS}.mk
+INCOMPAT_ICONV?= # empty
+. for _pattern_ in ${_INCOMPAT_ICONV} ${INCOMPAT_ICONV}
. if !empty(MACHINE_PLATFORM:M${_pattern_})
_NEED_ICONV= YES
. endif