Sunday, July 29, 2018

_internal-manpages-check

Hi,

i just found this patch in my tree. It should have been committed
years ago, it seems it was just forgotten.

Alternatively, the target _internal-manpages-check could simply
be deleted. It is marked as internal, undocumented, and appears
to be unused.


If we want to keep it, here is a minimal fix.

OK?
Ingo


Index: bsd.port.mk
===================================================================
RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
retrieving revision 1.1429
diff -u -r1.1429 bsd.port.mk
--- bsd.port.mk 27 Jul 2018 17:22:24 -0000 1.1429
+++ bsd.port.mk 29 Jul 2018 11:02:53 -0000
@@ -2223,7 +2223,7 @@
_internal-manpages-check: ${_FAKE_COOKIE}
@cd ${WRKINST}${TRUEPREFIX}/man && \
${_PBUILD} /usr/libexec/makewhatis -p . && \
- cat mandoc.db
+ man -kM . Nd~.

# Most standard port targets create a cookie to avoid being re-run.
#

No comments:

Post a Comment