summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2012-11-09 19:14:20 +0000
committerAgostino Sarubbo <ago@gentoo.org>2012-11-09 19:14:20 +0000
commita5d6ad9cfb4f19edd55eb393836d7b7d79cb0006 (patch)
tree308464f7830b2852f8be91572eb8fb6de5abbc3d
parent[bump] dev-perl/XML-LibXML-2.1.200 (diff)
downloadgentoo-2-a5d6ad9cfb4f19edd55eb393836d7b7d79cb0006.tar.gz
gentoo-2-a5d6ad9cfb4f19edd55eb393836d7b7d79cb0006.tar.bz2
gentoo-2-a5d6ad9cfb4f19edd55eb393836d7b7d79cb0006.zip
Add ~amd64, wrt bug #442198
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
-rw-r--r--dev-util/skelgen/ChangeLog8
-rw-r--r--dev-util/skelgen/skelgen-1.2.ebuild19
2 files changed, 15 insertions, 12 deletions
diff --git a/dev-util/skelgen/ChangeLog b/dev-util/skelgen/ChangeLog
index e4fd9d719a7d..4fbec8b10636 100644
--- a/dev-util/skelgen/ChangeLog
+++ b/dev-util/skelgen/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/skelgen
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/skelgen/ChangeLog,v 1.6 2008/12/31 21:01:17 mpagano Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/skelgen/ChangeLog,v 1.7 2012/11/09 19:14:20 ago Exp $
+
+ 09 Nov 2012; Agostino Sarubbo <ago@gentoo.org> skelgen-1.2.ebuild:
+ Add ~amd64, wrt bug #442198
31 Dec 2008; Mike Pagano <mpagano@gentoo.org>
+files/skelgen-1.2-gcc43.patch, skelgen-1.2.ebuild:
@@ -24,4 +27,3 @@
11 Nov 2005; Tavis Ormandy <taviso@gentoo.org> +metadata.xml,
+skelgen-1.2.ebuild:
initial import.
-
diff --git a/dev-util/skelgen/skelgen-1.2.ebuild b/dev-util/skelgen/skelgen-1.2.ebuild
index ccfec10134fc..1f2564e07ac7 100644
--- a/dev-util/skelgen/skelgen-1.2.ebuild
+++ b/dev-util/skelgen/skelgen-1.2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/skelgen/skelgen-1.2.ebuild,v 1.5 2008/12/31 21:01:17 mpagano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/skelgen/skelgen-1.2.ebuild,v 1.6 2012/11/09 19:14:20 ago Exp $
+
+EAPI=4
inherit eutils flag-o-matic toolchain-funcs
@@ -9,29 +11,28 @@ HOMEPAGE="http://www.fluidstudios.com/"
SRC_URI="http://www.fluidstudios.com/pub/FluidStudios/Tools/Fluid_Studios_Skeleton_Source_File_Generator-${PV}.zip"
LICENSE="free-noncomm"
SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="~amd64 x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
S=${WORKDIR}/source
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-gcc43.patch
}
src_compile() {
# Makefile uses $STRIPPER to strip executable, so use true
# instead and let portage handle that.
- emake COMPILER="$(tc-getCXX)" \
+ emake \
+ COMPILER="$(tc-getCXX)" \
COMPILER_OPTIONS="-c ${CXXFLAGS}" \
LINKER="$(tc-getCXX) ${LDFLAGS}" \
- STRIPPER="true" || die
+ STRIPPER="true"
}
src_install() {
- dobin skelgen || die "dobin failed"
+ dobin skelgen
dodoc readme.txt
dodoc macros/{common.macro,personal.macro,work.macro}
dodoc templates/{default.{cpp,h},fluid.{cpp,h},gpl.{c,h},skelgen.{cpp,h}}