author | Michael Krelin <hacker@klever.net> | 2007-04-16 21:06:52 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-04-16 21:06:52 (UTC) |
commit | c485564f09642aefcfa2ec23ac887589f7dc1843 (patch) (side-by-side diff) | |
tree | d8e455cf026d9e5faf9bf08c4cd0d63167bee30d | |
parent | 2ae8ba67d6f323d3678af8b2918cd757ca13a447 (diff) | |
download | misc-c485564f09642aefcfa2ec23ac887589f7dc1843.zip misc-c485564f09642aefcfa2ec23ac887589f7dc1843.tar.gz misc-c485564f09642aefcfa2ec23ac887589f7dc1843.tar.bz2 |
app-pda/makeztxt: make 32bits on amd64
-rw-r--r-- | app-pda/makeztxt/Manifest | 12 | ||||
-rw-r--r-- | app-pda/makeztxt/files/makeztxt-1.60-cflags.patch | 18 | ||||
-rw-r--r-- | app-pda/makeztxt/makeztxt-1.60.ebuild | 14 |
3 files changed, 39 insertions, 5 deletions
diff --git a/app-pda/makeztxt/Manifest b/app-pda/makeztxt/Manifest index 383a2b5..776a84f 100644 --- a/app-pda/makeztxt/Manifest +++ b/app-pda/makeztxt/Manifest @@ -1,6 +1,10 @@ +AUX makeztxt-1.60-cflags.patch 317 RMD160 20132e66163c86e200ad07534b8079e6779c0886 SHA1 82f5e340ef5ad59f26e70958ec6441e1b238d240 SHA256 b8775936be431edbee74cae0a0c089569d22d8990056ed2dd30c3beb08dcea36 +MD5 f2e2430799624b5006d9969e882b9c64 files/makeztxt-1.60-cflags.patch 317 +RMD160 20132e66163c86e200ad07534b8079e6779c0886 files/makeztxt-1.60-cflags.patch 317 +SHA256 b8775936be431edbee74cae0a0c089569d22d8990056ed2dd30c3beb08dcea36 files/makeztxt-1.60-cflags.patch 317 DIST makeztxt-1.60-src.tar.gz 39508 RMD160 3ed195189fb8eaa7dd07c2e85fa48f78cc48b463 SHA1 4898339761e339021b7e840ea7985b44671e5f7e SHA256 016b1542e40819e2854cf617c2ab08c7f9aebc26dd613673e81a95603dde7146 -EBUILD makeztxt-1.60.ebuild 496 RMD160 b17afb59278eb4b962888f4fe49c6110be84e07c SHA1 cbbf71ac65a424fd0ac7c867ea5e9cf0a37bb025 SHA256 16f3b7428051ba8293753981bb34f219c13ccc06c894ff3a4a0aa155dad36c84 -MD5 3d3435efa7dff2f14ff17624122f3d58 makeztxt-1.60.ebuild 496 -RMD160 b17afb59278eb4b962888f4fe49c6110be84e07c makeztxt-1.60.ebuild 496 -SHA256 16f3b7428051ba8293753981bb34f219c13ccc06c894ff3a4a0aa155dad36c84 makeztxt-1.60.ebuild 496 +EBUILD makeztxt-1.60.ebuild 740 RMD160 296c61df4340bb74ec29f168346b4f9b36fa7cc2 SHA1 e75f1fe57b5547b68e199d57cad0c4740f0018b0 SHA256 654db7a8423e973623098d6446a2e5d7973e24c9e2942657f6831603df0885a0 +MD5 a0f71c8205e3fdea74f106bee148d13f makeztxt-1.60.ebuild 740 +RMD160 296c61df4340bb74ec29f168346b4f9b36fa7cc2 makeztxt-1.60.ebuild 740 +SHA256 654db7a8423e973623098d6446a2e5d7973e24c9e2942657f6831603df0885a0 makeztxt-1.60.ebuild 740 MD5 afff228786104676f58e219cdd4c3a13 files/digest-makeztxt-1.60 250 diff --git a/app-pda/makeztxt/files/makeztxt-1.60-cflags.patch b/app-pda/makeztxt/files/makeztxt-1.60-cflags.patch new file mode 100644 index 0000000..e30f504 --- a/dev/null +++ b/app-pda/makeztxt/files/makeztxt-1.60-cflags.patch @@ -0,0 +1,18 @@ +diff --git a/Makefile b/Makefile +index 17c5302..47f5075 100644 +--- a/Makefile ++++ b/Makefile +@@ -6,11 +6,11 @@ + + VERSION = 1.60 + +-LIBS = -lztxt ++LIBS += -lztxt + INCLUDE = -I../common -I. + + CC = gcc +-CFLAGS = -Wall -O2 -pipe $(INCLUDE) ++CFLAGS += -Wall -O2 -pipe $(INCLUDE) + # GNU make is mandatory + #MAKE = make + 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 @@ -13,5 +13,17 @@ KEYWORDS="x86 amd64" IUSE="" -DEPEND="sys-libs/zlib" +RDEPEND=" + sys-libs/zlib + amd64? ( app-emulation/emul-linux-x86-baselibs ) +" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack $A + cd "$S" + epatch "${FILESDIR}/${P}-cflags.patch" +} src_compile() { + CFLAGS="${CFLAGS} $(use amd64 && echo -m32)" \ + LIBS="${LIBS} $(use amd64 && echo -m32)" \ emake || die "emake failed" |