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
commit4a05c539d2a85d087918f65dc4e4e70e62c810d4 (patch)
tree77a9ac4601567878740c0158bf2b2ab58394ab82 /mk
parent8e21888511c0cf819e0430e79a21d8b789feaa4c (diff)
downloadpkgsrc-4a05c539d2a85d087918f65dc4e4e70e62c810d4.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