summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2003-07-23 18:59:17 +0000
committerGuy Martin <gmsoft@gentoo.org>2003-07-23 18:59:17 +0000
commit4d505b03a82a6463bd05eb1a67e0e69d77c9a3be (patch)
treebf51f19c84197d56a07a081df5160ac0c6e89fe7 /app-text/openjade/openjade-1.3.2-r1.ebuild
parentAdded hppa to KEYWORDS. (diff)
downloadhistorical-4d505b03a82a6463bd05eb1a67e0e69d77c9a3be.tar.gz
historical-4d505b03a82a6463bd05eb1a67e0e69d77c9a3be.tar.bz2
historical-4d505b03a82a6463bd05eb1a67e0e69d77c9a3be.zip
Added fix and keyword for hppa.
Diffstat (limited to 'app-text/openjade/openjade-1.3.2-r1.ebuild')
-rw-r--r--app-text/openjade/openjade-1.3.2-r1.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/app-text/openjade/openjade-1.3.2-r1.ebuild b/app-text/openjade/openjade-1.3.2-r1.ebuild
index 05d6e979fa1c..648284462cf2 100644
--- a/app-text/openjade/openjade-1.3.2-r1.ebuild
+++ b/app-text/openjade/openjade-1.3.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/openjade-1.3.2-r1.ebuild,v 1.3 2003/07/19 22:55:30 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/openjade-1.3.2-r1.ebuild,v 1.4 2003/07/23 18:58:01 gmsoft Exp $
inherit libtool sgml-catalog
@@ -18,7 +18,7 @@ RDEPEND="app-text/sgml-common
DEPEND="dev-lang/perl
${RDEPEND}"
-KEYWORDS="x86 amd64"
+KEYWORDS="x86 amd64 hppa"
src_unpack() {
unpack ${A}
@@ -34,6 +34,14 @@ src_compile() {
CFLAGS=""
CXXFLAGS=""
+ # Default CFLAGS and CXXFLAGS is -O2 but this make openjade segfault
+ # on hppa. Using -O1 works fine. So I force it here.
+ if [ "${ARCH}" = "hppa" ]
+ then
+ CFLAGS="-O1 -pipe"
+ CXXFLAGS="-O1 -pipe"
+ fi
+
ln -s config/configure.in configure.in
elibtoolize