summaryrefslogtreecommitdiff
path: root/app-pda/makeztxt/makeztxt-1.60.ebuild
Unidiff
Diffstat (limited to 'app-pda/makeztxt/makeztxt-1.60.ebuild') (more/less context) (ignore whitespace changes)
-rw-r--r--app-pda/makeztxt/makeztxt-1.60.ebuild14
1 files changed, 13 insertions, 1 deletions
diff --git a/app-pda/makeztxt/makeztxt-1.60.ebuild b/app-pda/makeztxt/makeztxt-1.60.ebuild
index 08e75ee..164114f 100644
--- a/app-pda/makeztxt/makeztxt-1.60.ebuild
+++ b/app-pda/makeztxt/makeztxt-1.60.ebuild
@@ -11,9 +11,21 @@ LICENSE="GPL-2"
11SLOT="0" 11SLOT="0"
12KEYWORDS="x86 amd64" 12KEYWORDS="x86 amd64"
13IUSE="" 13IUSE=""
14DEPEND="sys-libs/zlib" 14RDEPEND="
15 sys-libs/zlib
16 amd64? ( app-emulation/emul-linux-x86-baselibs )
17"
18DEPEND="${RDEPEND}"
19
20src_unpack() {
21 unpack $A
22 cd "$S"
23 epatch "${FILESDIR}/${P}-cflags.patch"
24}
15 25
16src_compile() { 26src_compile() {
27 CFLAGS="${CFLAGS} $(use amd64 && echo -m32)" \
28 LIBS="${LIBS} $(use amd64 && echo -m32)" \
17 emake || die "emake failed" 29 emake || die "emake failed"
18} 30}
19 31