mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
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
This commit is contained in:
parent
49cb1f794a
commit
f9239454bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493944
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user