Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 125055 | Differences between
and this patch

Collapse All | Expand All

(-)seamonkey-1.0.ebuild (-2 / +25 lines)
Lines 6-24 Link Here
6
inherit flag-o-matic toolchain-funcs eutils mozcoreconf mozconfig-2 mozilla-launcher makeedit multilib autotools
6
inherit flag-o-matic toolchain-funcs eutils mozcoreconf mozconfig-2 mozilla-launcher makeedit multilib autotools
7
7
8
PVER="0.2"
8
PVER="0.2"
9
EMVER="0.94.0"
9
10
10
DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC"
11
DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC"
11
HOMEPAGE="http://www.mozilla.org"
12
HOMEPAGE="http://www.mozilla.org"
12
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/${PN}/releases/${PV}/${P}.source.tar.bz2
13
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/${PN}/releases/${PV}/${P}.source.tar.bz2
14
	crypt? ( !moznomail? (
15
		http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz
16
	) )
13
	mirror://gentoo/${P}-patches-${PVER}.tar.bz2
17
	mirror://gentoo/${P}-patches-${PVER}.tar.bz2
14
	http://dev.gentoo.org/~anarchy/dist/${P}-patches-${PVER}.tar.bz2"
18
	http://dev.gentoo.org/~anarchy/dist/${P}-patches-${PVER}.tar.bz2"
15
19
16
KEYWORDS="~amd64 ~ppc ~x86"
20
KEYWORDS="~amd64 ~ppc ~x86"
17
SLOT="0"
21
SLOT="0"
18
LICENSE="MPL-1.1 NPL-1.1"
22
LICENSE="MPL-1.1 NPL-1.1"
19
IUSE="java ldap  mozcalendar mozdevelop moznocompose moznoirc moznomail moznoroaming postgres"
23
IUSE="crypt java ldap  mozcalendar mozdevelop moznocompose moznoirc moznomail moznoroaming postgres"
20
24
21
RDEPEND="java? ( virtual/jre )
25
RDEPEND="crypt? ( !moznomail? ( >=app-crypt/gnupg-1.4 ) )
26
	java? ( virtual/jre )
22
	>=www-client/mozilla-launcher-1.47
27
	>=www-client/mozilla-launcher-1.47
23
	>=dev-libs/nss-3.10
28
	>=dev-libs/nss-3.10
24
	>=dev-libs/nspr-4.6.1"
29
	>=dev-libs/nspr-4.6.1"
Lines 71-76 Link Here
71
	cd ${S} || die "cd failed"
76
	cd ${S} || die "cd failed"
72
	EPATCH_FORCE="yes" epatch ${WORKDIR}/patch
77
	EPATCH_FORCE="yes" epatch ${WORKDIR}/patch
73
78
79
	# Unpack the enigmail plugin
80
	if use crypt && ! use moznomail; then
81
		cd ${S}/mailnews/extensions || die
82
		unpack enigmail-${EMVER}.tar.gz
83
		cd ${S}/mailnews/extensions/enigmail || die "cd failed"
84
		typeset m topdir
85
		for m in $(find ../ -name Makefile.in); do
86
			topdir=$(echo "$m" | sed -r 's:[^/]+:..:g')
87
			sed -e "s:@srcdir@:.:g" -e "s:@top_srcdir@:${topdir}:g" \
88
				< ${m} > ${m%.in} || die "sed ${m} failed"
89
		done
90
	fi
91
	cd ${S}
92
74
	# Fix scripts that call for /usr/local/bin/perl #51916
93
	# Fix scripts that call for /usr/local/bin/perl #51916
75
	ebegin "Patching smime to call perl from /usr/bin"
94
	ebegin "Patching smime to call perl from /usr/bin"
76
	sed -i -e '1s,usr/local/bin,usr/bin,' ${S}/security/nss/cmd/smimetools/smime
95
	sed -i -e '1s,usr/local/bin,usr/bin,' ${S}/security/nss/cmd/smimetools/smime
Lines 177-182 Link Here
177
	edit_makefiles
196
	edit_makefiles
178
197
179
	emake || die
198
	emake || die
199
200
	if use crypt && ! use moznomail; then
201
		emake -C ${S}/mailnews/extensions/enigmail || die "emake ${x} failed"
202
	fi
180
}
203
}
181
204
182
src_install() {
205
src_install() {

Return to bug 125055