Subject: pkg/36316: wide-dhcpv6 man page fixes
To: None <,,>
From: None <>
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
System: NetBSD 3.0 NetBSD 3.0 (KIRKKIT) #2: Mon Oct 16 21:27:42 CDT 2006 i386
Architecture: i386
Machine: i386
some net/wide-dhcpv6 man pages contain hard-coded /usr/local paths
read a wide-dhcpv6 man page that contains /usr/local paths
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'