Bug 107340

Summary: textproc/highlight is built with hardcoded config location
Product: Ports & Packages Reporter: Bernard Buri <bsd>
Component: Individual Port(s)Assignee: Alexander Botero-Lowry <alexbl>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

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 freebsd_triage 2006-12-29 21:20:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alexbl

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 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 freebsd_triage 2007-02-12 21:19:28 UTC
State Changed
From-To: open->closed

Committed, thanks!