From e34c33e550b97ab73f6813bb758840e417fa0264 Mon Sep 17 00:00:00 2001 From: Alexander Botero-Lowry Date: Mon, 12 Feb 2007 21:19:00 +0000 Subject: [PATCH] - fix a hardcoded path (/etc/highlight) PR: 107340 Submitted by: Bernard Buri --- textproc/highlight/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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