svn commit: r492055 - head/textproc/nuspell

Jan Beich jbeich at FreeBSD.org
Sun Feb 3 15:27:19 UTC 2019


Author: jbeich
Date: Sun Feb  3 15:27:18 2019
New Revision: 492055
URL: https://svnweb.freebsd.org/changeset/ports/492055

Log:
  textproc/nuspell: respect PREFIX != /usr/local
  
  Similar to textproc/hunspell/files/patch-src_hunspell_hunspell.cxx

Modified:
  head/textproc/nuspell/Makefile   (contents, props changed)

Modified: head/textproc/nuspell/Makefile
==============================================================================
--- head/textproc/nuspell/Makefile	Sun Feb  3 15:19:33 2019	(r492054)
+++ head/textproc/nuspell/Makefile	Sun Feb  3 15:27:18 2019	(r492055)
@@ -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


More information about the svn-ports-all mailing list