diff options
author | abs <abs@pkgsrc.org> | 2003-02-13 18:51:55 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2003-02-13 18:51:55 +0000 |
commit | 1c61f9f0691f6f6eb113acdfb34750cd52875402 (patch) | |
tree | 6771c8f6329d9cb290bc60a64fdfa87dbbf30e33 /mk/texinfo.mk | |
parent | 728cfe8f04c1dec50e9e1da89976a365722e8295 (diff) | |
download | pkgsrc-1c61f9f0691f6f6eb113acdfb34750cd52875402.tar.gz |
When comparing install-info version, ignore non [0-9.] - treat 4.0b as 4.0
Diffstat (limited to 'mk/texinfo.mk')
-rw-r--r-- | mk/texinfo.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/texinfo.mk b/mk/texinfo.mk index 1c6d7bfd5cc..b8e9aab90fa 100644 --- a/mk/texinfo.mk +++ b/mk/texinfo.mk @@ -1,4 +1,4 @@ -# $NetBSD: texinfo.mk,v 1.8 2003/01/28 20:03:02 seb Exp $ +# $NetBSD: texinfo.mk,v 1.9 2003/02/13 18:51:55 abs Exp $ # # This Makefile fragment is included by packages that provide info files. # @@ -16,9 +16,9 @@ _INSTALL_INFO= ${_i_} .if !empty(_INSTALL_INFO) . if !defined(INSTALL_INFO_VERSION) _INSTALL_INFO_VERSION_OUTPUT!= ${_INSTALL_INFO} --version 2>/dev/null -# if install-info departs from the [0-9].[0-9] numbering scheme, the following -# would have to be changed as well as the comparison below -INSTALL_INFO_VERSION= ${_INSTALL_INFO_VERSION_OUTPUT:M[0-9]*.[0-9]*} +# If the install-info version contains useful information outside [0-9].[0-9], +# the following would have to be changed as well as the comparison below +INSTALL_INFO_VERSION=${_INSTALL_INFO_VERSION_OUTPUT:M[0-9]*.[0-9]*:C/[^0-9.]//} MAKEFLAGS+= INSTALL_INFO_VERSION=${INSTALL_INFO_VERSION} . endif .endif |