summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2006-08-27 23:32:56 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2006-08-27 23:32:56 +0000
commitbdcf33f499cd67954c22f5e6445760cf298d1e79 (patch)
treeb5a6c7243bd11bffafa7a0deb61711d2cf0213ca /dev-java/swt/swt-3.2-r1.ebuild
parentMarking amd64 stable (diff)
downloadhistorical-bdcf33f499cd67954c22f5e6445760cf298d1e79.tar.gz
historical-bdcf33f499cd67954c22f5e6445760cf298d1e79.tar.bz2
historical-bdcf33f499cd67954c22f5e6445760cf298d1e79.zip
fix up some minor issues, migrate useflags from mozilla to seamonkey
Package-Manager: portage-2.1.1_rc1-r1
Diffstat (limited to 'dev-java/swt/swt-3.2-r1.ebuild')
-rw-r--r--dev-java/swt/swt-3.2-r1.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-java/swt/swt-3.2-r1.ebuild b/dev-java/swt/swt-3.2-r1.ebuild
index 593f1068355f..75cffa40c85e 100644
--- a/dev-java/swt/swt-3.2-r1.ebuild
+++ b/dev-java/swt/swt-3.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/swt-3.2-r1.ebuild,v 1.1 2006/08/27 17:42:30 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/swt-3.2-r1.ebuild,v 1.2 2006/08/27 23:32:56 compnerd Exp $
inherit eutils java-pkg-2
@@ -17,7 +17,7 @@ SLOT="3"
LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="cairo gnome mozilla opengl"
+IUSE="cairo gnome seamonkey opengl"
COMMON=">=dev-libs/glib-2.6
>=x11-libs/gtk+-2.6.8
>=dev-libs/atk-1.10.2
@@ -34,7 +34,7 @@ COMMON=">=dev-libs/glib-2.6
=gnome-base/gnome-vfs-2*
=gnome-base/libgnomeui-2*
)
- mozilla? (
+ seamonkey? (
>=www-client/seamonkey-1.0.2
>=dev-libs/nspr-4.6.2
)
@@ -118,11 +118,13 @@ src_compile() {
emake -f make_linux.mak make_gnome || die "Failed to build GNOME VFS support"
fi
- if use mozilla ; then
+ if use seamonkey ; then
+ export GECKO_SDK="$(pkg-config seamonkey-xpcom --variable=libdir)"
export GECKO_INCLUDES="-I/usr/$(get_libdir)/seamonkey/include/xpcom \
-I/usr/include/nspr \
-I/usr/$(get_libdir)/seamonkey/include/embed_base \
-I/usr/$(get_libdir)/seamonkey/include/string"
+ export GECKO_LIBS="-L${GECKO_SDK} -lgtkembedmoz"
einfo "Building the Mozilla component"
emake -f make_linux.mak make_mozilla || die "Failed to build Mozilla support"