Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2019 15:27:18 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r492055 - head/textproc/nuspell
Message-ID:  <201902031527.x13FRImM032696@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902031527.x13FRImM032696>