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:
parent
8962b588b8
commit
6f24a15624
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492055
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user