Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2019 08:40:58 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493948 - head/german/hunspell
Message-ID:  <201902260840.x1Q8ewbC072023@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Tue Feb 26 08:40:58 2019
New Revision: 493948
URL: https://svnweb.freebsd.org/changeset/ports/493948

Log:
  german/hunspell: Use gsed during the build
  
  hunspell's build currently attempts to use base sed and \t, most
  certainly with the expectation that the latter will expand to a
  tab.  With base sed, this is currently not the case - '\t' gets
  passed through literally to regex(3), which sees this as an escape
  of an ordinary character.  Escapes of ordinary characters will be
  disallowed in future versions of regex(3), so switch to textproc/gsed
  for now which does the right thing with \t.
  
  PR:		233439
  Submitted by:	kevans
  Approved by:	office (maintainer timeout, > 2 months)

Modified:
  head/german/hunspell/Makefile

Modified: head/german/hunspell/Makefile
==============================================================================
--- head/german/hunspell/Makefile	Tue Feb 26 08:34:42 2019	(r493947)
+++ head/german/hunspell/Makefile	Tue Feb 26 08:40:58 2019	(r493948)
@@ -2,7 +2,7 @@
 
 PORTNAME=	hunspell
 PORTVERSION=	20161207
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	german textproc
 MASTER_SITES=	https://www.j3e.de/ispell/igerman98/dict/ \
 		LOCAL/sunpoet/${PORTNAME}
@@ -16,6 +16,7 @@ LICENSE=	GPLv2 GPLv3
 LICENSE_COMB=	dual
 
 BUILD_DEPENDS=	aspell:textproc/aspell \
+		gsed:textproc/gsed \
 		hunspell:textproc/hunspell
 
 BROKEN_armv6=		fails to install: hunspell-capmain-plus_de_DE.tmp: Error 1
@@ -26,6 +27,8 @@ ALL_TARGET=	hunspell-all
 NO_ARCH=	yes
 USE_PERL5=	build
 SHEBANG_FILES=	bin/*.pl
+
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 
 PLIST_FILES=	%%DATADIR%%/de_AT.aff \
 		%%DATADIR%%/de_AT.dic \



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