Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2016 23:11:31 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406129 - head/www/nspluginwrapper
Message-ID:  <201601142311.u0ENBVmI082982@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jan 14 23:11:31 2016
New Revision: 406129
URL: https://svnweb.freebsd.org/changeset/ports/406129

Log:
  Fix build and run on recent head with working unicode collation
  
  The right way to upper or lower characters with tr(1) is to use the dedicated
  classes instead if listing the characters like [A-Z] because the order is
  on the locale
  
  Reported by:	kan

Modified:
  head/www/nspluginwrapper/Makefile

Modified: head/www/nspluginwrapper/Makefile
==============================================================================
--- head/www/nspluginwrapper/Makefile	Thu Jan 14 22:26:42 2016	(r406128)
+++ head/www/nspluginwrapper/Makefile	Thu Jan 14 23:11:31 2016	(r406129)
@@ -3,7 +3,7 @@
 
 PORTNAME=	nspluginwrapper
 PORTVERSION=	1.4.4
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	www linux emulators
 MASTER_SITES=	http://nspluginwrapper.org/download/ \
 		LOCAL/jkim \
@@ -59,6 +59,8 @@ PLIST_SUB+=	HOST_AMD64="@comment "
 post-patch:
 	${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
 	    ${WRKSRC}/src/npw-config.c
+	${REINPLACE_CMD} -e 's,A-Z,:upper:,g; s,a-z,:lower:,g' \
+	    ${WRKSRC}/configure ${WRKSRC}/src/npw-viewer.sh
 
 post-install:
 	${MKDIR} ${STAGEDIR}${LIBDIR}/i386/linux



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