Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 2006 21:11:22 GMT
From:      Bernard Buri<bsd@ask-us.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/107340: textproc/highlight is built with hardcoded config location
Message-ID:  <200612292111.kBTLBMmx018465@www.freebsd.org>
Resent-Message-ID: <200612292120.kBTLK9s3074390@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612292111.kBTLBMmx018465>