Bug 107340 - textproc/highlight is built with hardcoded config location
Summary: textproc/highlight is built with hardcoded config location
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexander Botero-Lowry
Depends on:
Reported: 2006-12-29 21:20 UTC by Bernard Buri
Modified: 2007-02-12 21:20 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Buri 2006-12-29 21:20:09 UTC
${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".


Make the post-patch target look like that:

        @${REINPLACE_CMD} -e 's|/etc/highlight|${DATADIR}|' -e \
                's|/usr/share/highlight|${DATADIR}|' ${WRKSRC}/datadir.cpp
Comment 1 Edwin Groothuis freebsd_committer 2006-12-29 21:20:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alexbl

Over to maintainer
Comment 2 dfilter service freebsd_committer 2007-02-12 21:19:09 UTC
alexbl      2007-02-12 21:19:00 UTC

  FreeBSD ports repository

  Modified files:
    textproc/highlight   Makefile 
   - fix a hardcoded path (/etc/highlight)
  PR:             107340
  Submitted by:    Bernard Buri<bsd@ask-us.at>
  Revision  Changes    Path
  1.33      +2 -0      ports/textproc/highlight/Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alexander Botero-Lowry freebsd_committer 2007-02-12 21:19:28 UTC
State Changed
From-To: open->closed

Committed, thanks!