summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1999-02-11 15:40:13 +0000
committertv <tv@pkgsrc.org>1999-02-11 15:40:13 +0000
commitf0ac2ccd5cbd72e7b1d20bb212c109880815236a (patch)
tree77a9ac4601567878740c0158bf2b2ab58394ab82 /mk
parentea800198df87a879ae22f63c6fb1c80192c61818 (diff)
downloadpkgsrc-f0ac2ccd5cbd72e7b1d20bb212c109880815236a.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