Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2019 08:29:30 +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: r493944 - head/mail/squirrelmail-sasql-plugin
Message-ID:  <201902260829.x1Q8TUTB066448@repo.freebsd.org>

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

Log:
  mail/squirrelmail-sasql-plugin: Remove extra escapes
  
  This port currently uses some extra escapes in its sed regex: \$$
  and \'.  The latter is considered an escape of an ordinary character,
  and will be disallowed in a future version of regex(3) while we
  segue into libregex(3) repurposing some of these escapes for special
  meaning.
  
  PR:		233445
  Submitted by:	kevans

Modified:
  head/mail/squirrelmail-sasql-plugin/Makefile

Modified: head/mail/squirrelmail-sasql-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-sasql-plugin/Makefile	Tue Feb 26 08:07:44 2019	(r493943)
+++ head/mail/squirrelmail-sasql-plugin/Makefile	Tue Feb 26 08:29:29 2019	(r493944)
@@ -15,7 +15,7 @@ USE_SM_COMPAT=	yes
 USE_GENERIC_PKGMESSAGE=	yes
 
 post-patch:
-	@${REINPLACE_CMD} -e "s/\(\$$imap_server_type == \'cyrus\'\)/\1 || \$$imap_server_type == \'courier\'/g" \
+	@${REINPLACE_CMD} -e "s/\($$imap_server_type == 'cyrus'\)/\1 || \$$imap_server_type == 'courier'/g" \
 		-e 's/session_register/sqsession_register/g' \
 		${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/sasql_hooks.php
 	-@${RM} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/*.bak ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/.cvsignore



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