aboutsummaryrefslogtreecommitdiff
path: root/textproc/nuspell
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-02-03 15:27:18 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-02-03 15:27:18 +0000
commit6f24a15624ece550a72b46b91ed993a1f8a1d7ee (patch)
treea678fa43377ef9db37daa08e3a12625339e468be /textproc/nuspell
parent8962b588b860b4bbcba10b3399adbac413b0166d (diff)
downloadports-6f24a15624ece550a72b46b91ed993a1f8a1d7ee.tar.gz
ports-6f24a15624ece550a72b46b91ed993a1f8a1d7ee.zip
textproc/nuspell: respect PREFIX != /usr/local
Similar to textproc/hunspell/files/patch-src_hunspell_hunspell.cxx
Notes
Notes: svn path=/head/; revision=492055
Diffstat (limited to 'textproc/nuspell')
-rw-r--r--textproc/nuspell/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/textproc/nuspell/Makefile b/textproc/nuspell/Makefile
index 81f2d24ef8c8..1196eed7936a 100644
--- a/textproc/nuspell/Makefile
+++ b/textproc/nuspell/Makefile
@@ -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