1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- update enigmail to 1.6

- don't force gcc for i386 builds [1]

Submitted by:	mi [1]
This commit is contained in:
Florian Smeets 2013-10-24 20:54:41 +00:00
parent b3d885a002
commit 3cfe91b048
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331532
5 changed files with 6 additions and 77 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= seamonkey
DISTVERSION= 2.21
PORTREVISION= 1
CATEGORIES?= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source
DISTFILES= ${PORTNAME}-${DISTVERSION}.source${EXTRACT_SUFX}
@ -19,7 +20,7 @@ BUILD_DEPENDS= nspr>=4.10:${PORTSDIR}/devel/nspr \
unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS= libv4l2.so:${PORTSDIR}/multimedia/libv4l
EM_VERSION= 1.5.2
EM_VERSION= 1.6
L_VERSION= 2.6b3
USE_AUTOTOOLS= autoconf213:env
@ -84,10 +85,6 @@ MOZ_OPTIONS+= --disable-ldap --disable-mailnews
.if ! ${PORT_OPTIONS:MLDAP}
MOZ_OPTIONS+= --disable-ldap --enable-mailnews
.else
# libprldap60.so: Undefined symbol "PR_GetCurrentThread"
. if ${ARCH} == i386
USE_GCC?= yes
. endif
MOZ_OPTIONS+= --enable-ldap --enable-mailnews
.endif
.if ${PORT_OPTIONS:MENIGMAIL}
@ -102,8 +99,6 @@ EM_ID= ${PORTNAME}@mozilla-enigmail.org
EM_ID_RFILES= ${XPI_LIBDIR}/${EM_ID}/install.rdf \
${XPI_LIBDIR}/${EM_ID}/components/enigmail.js \
${XPI_LIBDIR}/${EM_ID}/modules/enigmailCommon.jsm
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-enigmail-ipc-src-Makefile
EXTRA_PATCHES+= ${FILESDIR}/extra-bug886095
.endif
.endif

View File

@ -1,4 +1,4 @@
SHA256 (seamonkey-2.21.source.tar.bz2) = 1b15b1e6bc19477ff7dfc805dd3629566b0b5e94eca9638fe2f4b47c3a8d5ae9
SIZE (seamonkey-2.21.source.tar.bz2) = 140654724
SHA256 (enigmail-1.5.2.tar.gz) = f20d6d1be1ab12dc2f1208d8f01227fd7e5c4dcf5d6f4bd0833a932b58973a26
SIZE (enigmail-1.5.2.tar.gz) = 1211395
SHA256 (enigmail-1.6.tar.gz) = 10d5eb7ba364b9b6e6275aae8bba1d0e4321ed7d55a715337d566ccf2a56ea4d
SIZE (enigmail-1.6.tar.gz) = 1231111

View File

@ -1,32 +0,0 @@
diff --git genxpi genxpi
index a50e7ab..6083c55 100755
--- mailnews/extensions/enigmail/genxpi~
+++ mailnews/extensions/enigmail/genxpi
@@ -74,16 +74,17 @@ if [ ${platform} = OS2_x86-gcc3 ]; then
else
enigDllFile=platform/${platform}/components/${libPrefix}enigmime-${xpcomAbi}${dllSuffix}
fi
subprocessDll=${libPrefix}subprocess${dllSuffix}
spDllFile=platform/${platform}/lib/${libPrefix}subprocess-${xpcomAbi}${dllSuffix}
# Prepare chrome.manifest
+cp ${targetDir}/chrome.manifest ${targetDir}/chrome.manifest.save
cat ${srcDir}/package/chrome.manifest | \
sed 's/##ENIGMIMEDLL-PLACEHOLDER##/binary-component platform\/'${platform}'\/components\/'`basename ${enigDllFile}`' ABI='${platform}'/' \
> ${targetDir}/chrome.manifest
# Prepare languages other than en-US
if [ -s ${srcDir}/lang/current-languages.txt ]; then
localeJar=chrome/${xpiModule}.jar
@@ -147,8 +148,9 @@ zip ${xpiFile} \
${localeJar} \
components/enigmime.xpt \
${enigDllFile} \
${spDllFile} \
chrome.manifest \
install.rdf
rm install.rdf chrome.manifest
+mv chrome.manifest.save chrome.manifest

View File

@ -1,35 +0,0 @@
--- mailnews/extensions/enigmail/ipc/src/Makefile.enig~
+++ mailnews/extensions/enigmail/ipc/src/Makefile.enig
@@ -19,13 +19,13 @@ endif
ifeq ($(OS_ARCH),NetBSD)
ifeq ($(DLL_SUFFIX),.so.1.0)
-LDFLAGS += -Wl,-Bsymbolic
+LDFLAGS += -shared -Wl,-Bsymbolic
CFLAGS += -fPIC
endif
endif
ifeq ($(OS_ARCH),FreeBSD)
-LDFLAGS += -Wl,-Bsymbolic
+LDFLAGS += -shared -Wl,-Bsymbolic
CFLAGS += -fPIC
endif
@@ -36,14 +36,14 @@ endif
ifeq ($(OS_ARCH),HP-UX)
ifeq ($(GNU_CC)$(GNU_CXX),)
-LDFLAGS += -Wl,-Bsymbolic
+LDFLAGS += -shared -Wl,-Bsymbolic
CFLAGS += -fPIC
endif
endif
ifeq ($(OS_ARCH),OSF1)
ifeq ($(GNU_CC)$(GNU_CXX),)
-LDFLAGS += -B symbolic
+LDFLAGS += -shared -B symbolic
CFLAGS += -fPIC
endif
endif

View File

@ -1,11 +1,12 @@
--- ldap/sdks/c-sdk/ldap/libraries/libprldap/Makefile.in.orig 2008-09-11 16:38:35.000000000 +0200
+++ ldap/sdks/c-sdk/ldap/libraries/libprldap/Makefile.in 2009-12-01 10:18:43.000000000 +0100
@@ -147,6 +147,11 @@
@@ -147,6 +147,12 @@
CUSTOM_LIBS=1
endif
+ifeq ($(OS_ARCH), FreeBSD)
+EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lpthread
+EXTRA_LIBS+= $(filter -L% -l%,${NSPRLINK})
+CUSTOM_LIBS=1
+endif
+