svn commit: r493948 - head/german/hunspell

Tobias Kortkamp tobik at FreeBSD.org
Tue Feb 26 08:40:59 UTC 2019


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 \


More information about the svn-ports-all mailing list