ports/107340: textproc/highlight is built with hardcoded config location
Bernard Buri
bsd at ask-us.at
Fri Dec 29 21:20:10 UTC 2006
>Number: 107340
>Category: ports
>Synopsis: textproc/highlight is built with hardcoded config location
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 29 21:20:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Bernard Buri
>Release: 6.1-RELEASE-p10
>Organization:
ask!
>Environment:
FreeBSD host.domain.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0:
Thu Nov 2 15:05:11 CET 2006
root at host.domain.com:/usr/obj/usr/src/sys/X335 i386
>Description:
/usr/ports/textproc/highlight/Makefile:44:
${WRKSRC}/datadir.cpp is patched to change occurrence of "/usr/share" to "/usr/local/share". However, in the very same file there is also an occurrence of "/etc/highlight" that should be changed to "/usr/local/share/hightlight".
>How-To-Repeat:
>Fix:
Make the post-patch target look like that:
post-patch:
@${REINPLACE_CMD} -e 's|/etc/highlight|${DATADIR}|' -e \
's|/usr/share/highlight|${DATADIR}|' ${WRKSRC}/datadir.cpp
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list