Subject: pkg/36316: wide-dhcpv6 man page fixes
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jakllsch@kollasch.net>
List: pkgsrc-bugs
Date: 05/13/2007 15:20:01
>Number: 36316
>Category: pkg
>Synopsis: /usr/local paths in man pages of wide-dhcpv6 could be fixed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sun May 13 15:20:01 +0000 2007
>Originator: Jonathan A. Kollasch
>Release: NetBSD 3.0
>Organization:
>Environment:
System: NetBSD kirkkit.kollasch.net 3.0 NetBSD 3.0 (KIRKKIT) #2: Mon Oct 16 21:27:42 CDT 2006 root@kirkkit.kollasch.net:/usr/src/sys/arch/i386/compile/KIRKKIT i386
Architecture: i386
Machine: i386
>Description:
some net/wide-dhcpv6 man pages contain hard-coded /usr/local paths
>How-To-Repeat:
read a wide-dhcpv6 man page that contains /usr/local paths
>Fix:
add the following to pkgsrc/net/wide-dhcpv6/Makefile
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
SUBST_FILES.fix-paths= dhcp6*8 dhcp6*5
SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g'