- fix a hardcoded path (/etc/highlight)

PR:		107340
Submitted by:	 Bernard Buri<bsd@ask-us.at>
This commit is contained in:
Alexander Botero-Lowry 2007-02-12 21:19:00 +00:00
parent 9753b59ae5
commit e34c33e550
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185034

View file

@ -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