1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

textproc/nuspell: respect PREFIX != /usr/local

Similar to textproc/hunspell/files/patch-src_hunspell_hunspell.cxx
This commit is contained in:
Jan Beich 2019-02-03 15:27:18 +00:00
parent 8962b588b8
commit 6f24a15624
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492055

View File

@ -29,6 +29,9 @@ post-patch:
@${REINPLACE_CMD} 's/ README//' ${WRKSRC}/Makefile.am
# Don't try to download catch2 during build
@${REINPLACE_CMD} '/wget/d' ${WRKSRC}/tests/Makefile.am
# Respect PREFIX != /usr/local
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \
${WRKSRC}/src/nuspell/finder.cxx
post-patch-TEST-off:
@${REINPLACE_CMD} -i .notest 's/ tests//' ${WRKSRC}/Makefile.am