summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-18 16:49:25 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-18 16:49:25 +0000
commita9834a279f7bc5107efbfb719dc4e95fbbb998d7 (patch)
tree6d5e240a2aaedd4d05c8b586ea1ad9d47b1bce49 /sys-devel/gcc-apple
parentAdd visualization flag for amarok. (diff)
downloadgentoo-2-a9834a279f7bc5107efbfb719dc4e95fbbb998d7.tar.gz
gentoo-2-a9834a279f7bc5107efbfb719dc4e95fbbb998d7.tar.bz2
gentoo-2-a9834a279f7bc5107efbfb719dc4e95fbbb998d7.zip
make less crappy
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-devel/gcc-apple')
-rw-r--r--sys-devel/gcc-apple/gcc-apple-1762.ebuild49
-rw-r--r--sys-devel/gcc-apple/metadata.xml2
2 files changed, 25 insertions, 26 deletions
diff --git a/sys-devel/gcc-apple/gcc-apple-1762.ebuild b/sys-devel/gcc-apple/gcc-apple-1762.ebuild
index 60d2c49c2a89..7714d1ec4cf7 100644
--- a/sys-devel/gcc-apple/gcc-apple-1762.ebuild
+++ b/sys-devel/gcc-apple/gcc-apple-1762.ebuild
@@ -1,45 +1,44 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-apple/gcc-apple-1762.ebuild,v 1.2 2005/02/19 23:57:24 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-apple/gcc-apple-1762.ebuild,v 1.3 2005/03/18 16:49:25 vapier Exp $
-S=${WORKDIR}/gcc-${PV}
-
-DESCRIPTION="Apple branch of the GNU compiler based on gcc version 3.5.0-tree-ssa"
-WEBPAGE="http://darwinsource.opendarwin.org/"
+DESCRIPTION="Apple branch of the GNU compiler (based on gcc-3.5.0-tree-ssa)"
+HOMEPAGE="http://darwinsource.opendarwin.org/"
SRC_URI="http://darwinsource.opendarwin.org/tarballs/other/gcc-${PV}.tar.gz"
LICENSE="APSL-2 GPL-2"
-
SLOT="0"
KEYWORDS="-* ~ppc-macos"
IUSE="build nls"
RDEPEND="virtual/libc
- sys-libs/zlib
- !build? (
- nls? ( sys-devel/gettext )
- sys-libs/ncurses
- )"
-
+ sys-libs/zlib
+ !build? (
+ nls? ( sys-devel/gettext )
+ sys-libs/ncurses
+ )"
DEPEND="sys-apps/texinfo
- sys-devel/bison
- sys-devel/cctools-extras
- sys-libs/csu"
+ sys-devel/bison
+ sys-devel/cctools-extras
+ sys-libs/csu"
+
+S=${WORKDIR}/gcc-${PV}
src_compile() {
:
}
src_install() {
- mkdir -p ${S}/build/obj ${S}/build/sym
- cd ${S}
- gnumake RC_OS=macos RC_ARCHS=ppc TARGETS=ppc \
- SRCROOT=${S} OBJROOT=${S}/build/obj \
- DSTROOT=${D} SYMROOT=${S}/build/sym\
- install|| die
-
- if use build; then
- rm -rf ${D}/Developer
- rm -rf ${D}/usr/share
+ mkdir -p "${S}"/build/obj "${S}"/build/sym
+ gnumake \
+ RC_OS=macos RC_ARCHS=ppc TARGETS=ppc \
+ SRCROOT="${S}" OBJROOT="${S}"/build/obj \
+ DSTROOT="${D}" SYMROOT="${S}"/build/sym \
+ install \
+ || die
+
+ if use build ; then
+ rm -r "${D}"/Developer
+ rm -r "${D}"/usr/share
fi
}
diff --git a/sys-devel/gcc-apple/metadata.xml b/sys-devel/gcc-apple/metadata.xml
index a65e8c2fdf72..fbf1f0be9860 100644
--- a/sys-devel/gcc-apple/metadata.xml
+++ b/sys-devel/gcc-apple/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>no-herd</herd>
+<herd>osx</herd>
<maintainer>
<email>kito@gentoo.org</email>
</maintainer>