summaryrefslogtreecommitdiff
path: root/textproc/highlight
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/highlight')
-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: