summaryrefslogtreecommitdiff
path: root/textproc/highlight/Makefile
diff options
context:
space:
mode:
authorAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-02-12 21:19:00 +0000
committerAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-02-12 21:19:00 +0000
commite34c33e550b97ab73f6813bb758840e417fa0264 (patch)
tree10deac329f61f16e8d4f835b39f2c3d3c8588d8f /textproc/highlight/Makefile
parentupdate to 2007b (diff)
- fix a hardcoded path (/etc/highlight)
PR: 107340 Submitted by: Bernard Buri<bsd@ask-us.at>
Diffstat (limited to 'textproc/highlight/Makefile')
-rw-r--r--textproc/highlight/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/textproc/highlight/Makefile b/textproc/highlight/Makefile
index 343493945342..0ce296365e97 100644
--- a/textproc/highlight/Makefile
+++ b/textproc/highlight/Makefile
@@ -42,6 +42,8 @@ BROKEN= Does not compile
post-patch:
@${REINPLACE_CMD} -e \
+ 's|/etc/highlight|${DATADIR}|g' ${WRKSRC}/datadir.cpp
+ @${REINPLACE_CMD} -e \
's|/usr/share/highlight|${DATADIR}|' ${WRKSRC}/datadir.cpp
do-install: