diff options
author | Guy Martin <gmsoft@gentoo.org> | 2003-05-09 01:57:54 +0000 |
---|---|---|
committer | Guy Martin <gmsoft@gentoo.org> | 2003-05-09 01:57:54 +0000 |
commit | b41cacb982b8e145234c4c5ff73e9f9334a9ba54 (patch) | |
tree | a2f71fd4a23d970af28b5284250aff3b29356e80 /sys-apps/groff | |
parent | initial import from bug 15330 (diff) | |
download | gentoo-2-b41cacb982b8e145234c4c5ff73e9f9334a9ba54.tar.gz gentoo-2-b41cacb982b8e145234c4c5ff73e9f9334a9ba54.tar.bz2 gentoo-2-b41cacb982b8e145234c4c5ff73e9f9334a9ba54.zip |
Filter the -march=2.0 on hppa because it gave a b0rked groff. Added hppa to KEYWORDS.
Diffstat (limited to 'sys-apps/groff')
-rw-r--r-- | sys-apps/groff/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/groff/groff-1.18.1-r2.ebuild | 13 |
2 files changed, 15 insertions, 4 deletions
diff --git a/sys-apps/groff/ChangeLog b/sys-apps/groff/ChangeLog index d84136916f9f..2d45caa2c8c9 100644 --- a/sys-apps/groff/ChangeLog +++ b/sys-apps/groff/ChangeLog @@ -1,9 +1,13 @@ # ChangeLog for sys-apps/groff # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v 1.21 2003/03/18 22:09:12 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v 1.22 2003/05/09 01:57:54 gmsoft Exp $ *groff-1.18.1-r2 (18 Mar 2003) + 09 May 2003; Guy Martin <gmsoft@gentoo.org> groff-1.18.1-r2.ebuild : + Filter the -march=2.0 on hppa because it gave a b0rked groff. + Added hppa to KEYWORDS. + 18 Mar 2003; Markus Bertheau <ska-fan@gentoo.org> groff-1.18.1-r2.ebuild, files/groff-man-UTF-8.diff: Add a patch that fixes display of man pages in UTF-8 locales diff --git a/sys-apps/groff/groff-1.18.1-r2.ebuild b/sys-apps/groff/groff-1.18.1-r2.ebuild index 9a54d27171ed..747eb1784a1c 100644 --- a/sys-apps/groff/groff-1.18.1-r2.ebuild +++ b/sys-apps/groff/groff-1.18.1-r2.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/sys-apps/groff/groff-1.18.1-r2.ebuild,v 1.1 2003/03/18 00:00:15 ska-fan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.18.1-r2.ebuild,v 1.2 2003/05/09 01:57:54 gmsoft Exp $ IUSE="" @@ -11,7 +11,7 @@ DESCRIPTION="Text formatter used for man pages" SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/groff/${P}.tar.gz" HOMEPAGE="http://www.gnu.org/software/groff/groff.html" -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips hppa ~arm" SLOT="0" LICENSE="GPL-2" @@ -45,7 +45,14 @@ src_compile() { # Fix problems with not finding g++ [ -z "${CC}" ] && export CC="gcc" [ -z "${CXX}" ] && export CXX="g++" - + + #-march=2.0 makes groff unable to finish the compile process + if [ "${ARCH}" = "hppa" ]; then + export CFLAGS="${CFLAGS/-march=2.0/}" + export CXXFLAGS="${CXXFLAGS/-march=2.0/}" + fi + + ./configure --host=${CHOST} \ --prefix=/usr \ --mandir=/usr/share/man \ |