summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorkamil <kamil>2015-12-30 04:37:27 +0000
committerkamil <kamil>2015-12-30 04:37:27 +0000
commit94843a0dc03926dc953a3f981d24f980fcc2d5ef (patch)
tree7b8a33b44af51eab27f94b4d5f130f3292ca93b6 /mail
parent2af10ff21d059b24aed6a9b51b474d981ee3c047 (diff)
downloadpkgsrc-94843a0dc03926dc953a3f981d24f980fcc2d5ef.tar.gz
Correct sed(1) usage for NetBSD-6.x in the install stage
NetBSD-7.99.25 $ /usr/bin/sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' install.rdf {847b3a00-7ab1-11d4-8f02-006008948af5} $ /usr/bin/sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q;}' install.rdf {847b3a00-7ab1-11d4-8f02-006008948af5} NetBSD-6.1_STABLE $ /usr/bin/sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' install.rdf sed: 1: "/.*<em:id>\(.*\)<\/em:i ...": extra characters at the end of q command $ /usr/bin/sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q;}' install.rdf {847b3a00-7ab1-11d4-8f02-006008948af5} Closes PR pkg/50264 by Hauke Fath Solution suggested by David Holland
Diffstat (limited to 'mail')
-rw-r--r--mail/thunderbird-enigmail/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/thunderbird-enigmail/Makefile.common b/mail/thunderbird-enigmail/Makefile.common
index 5d4a472d210..54183bec491 100644
--- a/mail/thunderbird-enigmail/Makefile.common
+++ b/mail/thunderbird-enigmail/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2015/12/12 01:28:15 ryoon Exp $
+# $NetBSD: Makefile.common,v 1.5 2015/12/30 04:37:27 kamil Exp $
# used by mail/thunderbird-enigmail/Makefile
# used by mail/seamonkey-enigmail/Makefile
@@ -45,7 +45,7 @@ XPIFILE= ${WRKSRC}/build/${ENIGMAILXPI}
# Installation of extensions: http://kb.mozillazine.org/Installing_extensions
# Model installation: https://aur.archlinux.org/packages/th/thunderbird-enigmail/PKGBUILD
do-install:
- ${RUN} EMID=`${SED} -n '/.*<em:id>\\(.*\\)<\\/em:id>.*/{s//\\1/p;q}' \
+ ${RUN} EMID=`${SED} -n '/.*<em:id>\\(.*\\)<\\/em:id>.*/{s//\\1/p;q;}' \
${WRKSRC}/package/install.rdf` && \
${INSTALL_DATA_DIR} ${DESTDIR}${XPIDIR}/"$$EMID" && \
unzip -d ${DESTDIR}${XPIDIR}/"$$EMID" \