summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv>1999-02-11 15:40:13 +0000
committertv <tv>1999-02-11 15:40:13 +0000
commit5d5db8c38fba05e66003d2809592ca357cf47900 (patch)
tree77a9ac4601567878740c0158bf2b2ab58394ab82 /mk
parentf95c9f10d398b1f29e9811d51e563cb63841d129 (diff)
downloadpkgsrc-5d5db8c38fba05e66003d2809592ca357cf47900.tar.gz
Also make this work if gtexinfo is not installed at all and info is in the
base; install the symlink at ${LOCALBASE}/info/dir if there is nothing there yet.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 5f7b285855a..7ff5eded136 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.211 1999/02/11 14:44:00 tv Exp $
+# $NetBSD: bsd.pkg.mk,v 1.212 1999/02/11 15:40:13 tv Exp $
#
# This file is in the public domain.
#
@@ -1147,6 +1147,8 @@ _PORT_USE: .USE
.if exists(/usr/bin/install-info)
@if [ -f ${LOCALBASE}/info/dir ]; then \
rm -f ${LOCALBASE}/info/dir; \
+ fi
+ @if [ ! -e ${LOCALBASE}/info/dir ]; then \
ln -s /usr/share/info/dir ${LOCALBASE}/info/dir; \
fi
.endif