svn commit: r406129 - head/www/nspluginwrapper

Baptiste Daroussin bapt at FreeBSD.org
Thu Jan 14 23:11:32 UTC 2016


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


More information about the svn-ports-head mailing list