summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2003-10-07 09:09:56 +0000
committerseb <seb@pkgsrc.org>2003-10-07 09:09:56 +0000
commit7760a337ee1dbcce2fbd10421b31dd6be9155f9e (patch)
treec0749d855ef153245cb6dbef2f1d8795bd462c88 /mk
parenta3d2d179b7b1786f38bf68da23dce9aaabad8fca (diff)
downloadpkgsrc-7760a337ee1dbcce2fbd10421b31dd6be9155f9e.tar.gz
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 (limited to 'mk')
-rw-r--r--mk/texinfo.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/texinfo.mk b/mk/texinfo.mk
index dfe83e92b35..178106b6612 100644
--- a/mk/texinfo.mk
+++ b/mk/texinfo.mk
@@ -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 @@ INFO_DIR?= info
# 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