ports/100594: [patch bsd.port.mk] to update makewhatis database after manpages have been installed
Dominic Fandrey
lon_kamikaze at gmx.de
Thu Jul 20 06:20:16 UTC 2006
>Number: 100594
>Category: ports
>Synopsis: [patch bsd.port.mk] to update makewhatis database after manpages have been installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 20 06:20:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Dominic Fandrey
>Release: FreeBSD 6-Stable
>Organization:
private
>Environment:
FreeBSD mobileKamikaze.norad 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Jul 19 08:47:26 CEST 2006 root at mobileKamikaze.norad:/mnt/vault/obj/mnt/vault/src/sys/TPR40-6 i386
>Description:
The patch adds MKWHATIS to bsd.port.mk and updates the according whatis database after man pages have been installed.
It also uncovered broken links installed by cups-base on my system, that shows that it's double useful.
The patch is trivial, I hope it will be accepted.
>How-To-Repeat:
>Fix:
--- Mk/bsd.port.mk.orig Thu Jul 20 07:27:27 2006
+++ Mk/bsd.port.mk Thu Jul 20 08:06:20 2006
@@ -1047,6 +1047,7 @@
LDCONFIG?= /sbin/ldconfig
LN?= /bin/ln
LS?= /bin/ls
+MKWHATIS?= /usr/bin/makewhatis
MKDIR?= /bin/mkdir -p
MKTEMP?= /usr/bin/mktemp
MV?= /bin/mv
@@ -5300,6 +5301,8 @@
shift; shift; \
done
.endif
+ @${ECHO_MSG} "===> Updating whatis database"
+ @${MKWHATIS} ${MANPREFIX}/man
.else
@${DO_NADA}
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list