diff --git a/textproc/highlight/Makefile b/textproc/highlight/Makefile index 343493945342..0ce296365e97 100644 --- a/textproc/highlight/Makefile +++ b/textproc/highlight/Makefile @@ -41,6 +41,8 @@ BROKEN= Does not compile .endif post-patch: + @${REINPLACE_CMD} -e \ + 's|/etc/highlight|${DATADIR}|g' ${WRKSRC}/datadir.cpp @${REINPLACE_CMD} -e \ 's|/usr/share/highlight|${DATADIR}|' ${WRKSRC}/datadir.cpp