aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/highlight
diff options
context:
space:
mode:
authoralexbl <alexbl@FreeBSD.org>2007-02-13 05:19:00 +0800
committeralexbl <alexbl@FreeBSD.org>2007-02-13 05:19:00 +0800
commitda3fc6c82c86ec93110c264e555069e0e3cf57f0 (patch)
treee72e79e8d0b2d633f7063031ae37d191f198c37f /textproc/highlight
parent7baea75e1c1b9b2451e2ddb450fdfdb087e2e73a (diff)
downloadfreebsd-ports-gnome-da3fc6c82c86ec93110c264e555069e0e3cf57f0.tar.gz
freebsd-ports-gnome-da3fc6c82c86ec93110c264e555069e0e3cf57f0.tar.zst
freebsd-ports-gnome-da3fc6c82c86ec93110c264e555069e0e3cf57f0.zip
- fix a hardcoded path (/etc/highlight)
PR: 107340 Submitted by: Bernard Buri<bsd@ask-us.at>
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: