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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-29 21:20 UTC by Bernard Buri
Modified: 2007-02-12 21:20 UTC (History)
0 users

See Also:


Attachments

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
/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".

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
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 
  Log:
   - 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
http://lists.freebsd.org/mailman/listinfo/cvs-all
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!