# ChangeLog for app-office/openoffice
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.84 2004/10/12 14:58:10 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.85 2004/10/15 15:40:33 suka Exp $
+
+ 15 Oct 2004; suka@gentoo.org openoffice-1.1.3.ebuild:
+ depend on curl only if the appropiate use flag is set
12 Oct 2004; suka@gentoo.org openoffice-1.1.3.ebuild:
mark stable on x86 for bug #63556
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-1.1.3.ebuild,v 1.3 2004/10/12 14:58:10 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-1.1.3.ebuild,v 1.4 2004/10/15 15:40:33 suka Exp $
# Notes:
#
inherit flag-o-matic eutils gcc
-IUSE="gnome kde java"
+IUSE="gnome kde java curl"
LOC="/opt"
INSTDIR="${LOC}/OpenOffice.org"
>=sys-apps/findutils-4.1.20-r1
app-shells/tcsh
dev-util/pkgconfig
- net-misc/curl
+ curl? ( net-misc/curl )
sys-libs/pam
sys-libs/zlib
!dev-util/dmake
local buildcmd=""
export MYCONF=""
+ #Check if we use java
if use java
then
MYCONF="${MYCONF} --with-jdk-home=${JAVA_HOME}"
MYCONF="${MYCONF} --disable-java"
fi
+ #See if we use system-curl
+ if use curl
+ then
+ MYCONF="${MYCONF} --with-system-curl"
+ fi
+
# Do NOT compile with a external STLport, as gcc-2.95.3 users will
# get linker errors due to the ABI being different (STLport will be
# compiled with 2.95.3, while OO is compiled with 3.x). (Az)
--enable-libsn \
--without-fonts \
--with-system-zlib \
- --with-system-freetype \
- --with-system-curl"
+ --with-system-freetype"
./configure ${MYCONF} || die