summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/dissembler/dissembler-0.9.ebuild')
-rw-r--r--dev-util/dissembler/dissembler-0.9.ebuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/dev-util/dissembler/dissembler-0.9.ebuild b/dev-util/dissembler/dissembler-0.9.ebuild
index c99f5e062ffb..1ee100888494 100644
--- a/dev-util/dissembler/dissembler-0.9.ebuild
+++ b/dev-util/dissembler/dissembler-0.9.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/dissembler/dissembler-0.9.ebuild,v 1.2 2005/05/07 11:01:14 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/dissembler/dissembler-0.9.ebuild,v 1.3 2008/10/25 21:01:10 vapier Exp $
+
+inherit eutils toolchain-funcs
MY_P=${PN}_${PV}
DESCRIPTION="polymorphs bytecode to a printable ASCII string"
@@ -9,15 +11,21 @@ SRC_URI="http://www.phiral.com/research/${MY_P}.tgz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~ppc"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=""
S=${WORKDIR}/${MY_P}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
src_compile() {
- make ${PN} || die
+ emake CC="$(tc-getCC)" ${PN} || die
}
src_install() {