openbsd-ports/www/seamonkey/patches/patch-mailnews_extensions_enigmail_genxpi
landry 013d6c65d9 Update to seamonkey 2.9.1/lightning 1.4b1/enigmail 1.5pre.
- See http://www.seamonkey-project.org/releases/seamonkey2.9/
- add patch-suite_installer_Makefile_in to avoid installing the SDk
  (corollary of Tb's patch-mail_installer_Makefile_in)
- use MOZ_DEBUG_FLAGS="-Os" on ppc as done in Tb to avoid a
  relocation overflow when linking libxul on ppc (reminded by aja@)
2012-04-30 15:38:09 +00:00

33 lines
1.7 KiB
Plaintext

$OpenBSD: patch-mailnews_extensions_enigmail_genxpi,v 1.5 2012/04/30 15:38:09 landry Exp $
Remove ABI=xxx marker and xpcomAbi from lib naming.
--- mailnews/extensions/enigmail/genxpi.orig Mon Aug 15 17:59:15 2011
+++ mailnews/extensions/enigmail/genxpi Tue Sep 27 18:59:33 2011
@@ -62,7 +62,7 @@ cd "$cwd"
if [ "$xpcomAbi" = "" ] ; then
xpcomAbi="unknown"
fi
-platform=${osArch}_${xpcomAbi}
+platform=${osArch}
# Pepare install.rdf
sed 's/<!-- targetPlatform placeholder -->/<em:targetPlatform>'${platform}'<\/em:targetPlatform>/' < ${srcDir}/package/install.rdf > ${targetDir}/install.rdf
@@ -74,14 +74,14 @@ if [ ${platform} = OS2_x86-gcc3 ]; then
enigDllFile=platform/${platform}/components/${enigmimeDll}
ipcDllFile=platform/${platform}/components/${ipcDll}
else
- enigDllFile=platform/${platform}/components/${libPrefix}enigmime-${xpcomAbi}${dllSuffix}
- ipcDllFile=platform/${platform}/components/${libPrefix}ipc-${xpcomAbi}${dllSuffix}
+ enigDllFile=platform/${platform}/components/${libPrefix}enigmime${dllSuffix}
+ ipcDllFile=platform/${platform}/components/${libPrefix}ipc${dllSuffix}
fi
# Prepare chrome.manifest
cat ${srcDir}/package/chrome.manifest | \
-sed 's/##ENIGMIMEDLL-PLACEHOLDER##/binary-component platform\/'${platform}'\/components\/'`basename ${enigDllFile}`' ABI='${platform}'/' | \
-sed 's/##IPCDLL-PLACEHOLDER##/binary-component platform\/'${platform}'\/components\/'`basename ${ipcDllFile}`' ABI='${platform}'/' \
+sed 's/##ENIGMIMEDLL-PLACEHOLDER##/binary-component platform\/'${platform}'\/components\/'`basename ${enigDllFile}`'/' | \
+sed 's/##IPCDLL-PLACEHOLDER##/binary-component platform\/'${platform}'\/components\/'`basename ${ipcDllFile}`'/' \
> ${targetDir}/chrome.manifest
# Prepare languages other than en-US