pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Insure that the install-info we found is not one pr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/484fdb85b6a0
branches:  trunk
changeset: 462642:484fdb85b6a0
user:      seb <seb%pkgsrc.org@localhost>
date:      Tue Oct 07 09:09:56 2003 +0000

description:
Insure that the install-info we found is not one provided by the gtexinfo
package by comparing its "base path" against LOCALBASE.

This should fix the problem mentioned in PR pkg/20450.

diffstat:

 mk/texinfo.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bfe480550390 -r 484fdb85b6a0 mk/texinfo.mk
--- a/mk/texinfo.mk     Tue Oct 07 08:49:52 2003 +0000
+++ b/mk/texinfo.mk     Tue Oct 07 09:09:56 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: texinfo.mk,v 1.23 2003/09/09 09:10:55 seb Exp $
+# $NetBSD: texinfo.mk,v 1.24 2003/10/07 09:09:56 seb Exp $
 #
 # This Makefile fragment is included by bsd.pkg.mk when INFO_FILES is
 # not empty or USE_MAKEINFO is not "no".
@@ -24,7 +24,7 @@
 # Any version will fit (really?).
 _INSTALL_INFO=
 .  for _i_ in /usr/bin/install-info /sbin/install-info
-.    if exists(${_i_})
+.    if exists(${_i_}) && (${LOCALBASE} != ${_i_:C|/[^/]+/install-info$||})
 _INSTALL_INFO=                 ${_i_}
 .    endif
 .  endfor



Home | Main Index | Thread Index | Old Index