summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--app-pda/makeztxt/Manifest12
-rw-r--r--app-pda/makeztxt/files/makeztxt-1.60-cflags.patch18
-rw-r--r--app-pda/makeztxt/makeztxt-1.60.ebuild14
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,8 +1,12 @@
1AUX makeztxt-1.60-cflags.patch 317 RMD160 20132e66163c86e200ad07534b8079e6779c0886 SHA1 82f5e340ef5ad59f26e70958ec6441e1b238d240 SHA256 b8775936be431edbee74cae0a0c089569d22d8990056ed2dd30c3beb08dcea36
2MD5 f2e2430799624b5006d9969e882b9c64 files/makeztxt-1.60-cflags.patch 317
3RMD160 20132e66163c86e200ad07534b8079e6779c0886 files/makeztxt-1.60-cflags.patch 317
4SHA256 b8775936be431edbee74cae0a0c089569d22d8990056ed2dd30c3beb08dcea36 files/makeztxt-1.60-cflags.patch 317
1DIST makeztxt-1.60-src.tar.gz 39508 RMD160 3ed195189fb8eaa7dd07c2e85fa48f78cc48b463 SHA1 4898339761e339021b7e840ea7985b44671e5f7e SHA256 016b1542e40819e2854cf617c2ab08c7f9aebc26dd613673e81a95603dde7146 5DIST makeztxt-1.60-src.tar.gz 39508 RMD160 3ed195189fb8eaa7dd07c2e85fa48f78cc48b463 SHA1 4898339761e339021b7e840ea7985b44671e5f7e SHA256 016b1542e40819e2854cf617c2ab08c7f9aebc26dd613673e81a95603dde7146
2EBUILD makeztxt-1.60.ebuild 496 RMD160 b17afb59278eb4b962888f4fe49c6110be84e07c SHA1 cbbf71ac65a424fd0ac7c867ea5e9cf0a37bb025 SHA256 16f3b7428051ba8293753981bb34f219c13ccc06c894ff3a4a0aa155dad36c84 6EBUILD makeztxt-1.60.ebuild 740 RMD160 296c61df4340bb74ec29f168346b4f9b36fa7cc2 SHA1 e75f1fe57b5547b68e199d57cad0c4740f0018b0 SHA256 654db7a8423e973623098d6446a2e5d7973e24c9e2942657f6831603df0885a0
3MD5 3d3435efa7dff2f14ff17624122f3d58 makeztxt-1.60.ebuild 496 7MD5 a0f71c8205e3fdea74f106bee148d13f makeztxt-1.60.ebuild 740
4RMD160 b17afb59278eb4b962888f4fe49c6110be84e07c makeztxt-1.60.ebuild 496 8RMD160 296c61df4340bb74ec29f168346b4f9b36fa7cc2 makeztxt-1.60.ebuild 740
5SHA256 16f3b7428051ba8293753981bb34f219c13ccc06c894ff3a4a0aa155dad36c84 makeztxt-1.60.ebuild 496 9SHA256 654db7a8423e973623098d6446a2e5d7973e24c9e2942657f6831603df0885a0 makeztxt-1.60.ebuild 740
6MD5 afff228786104676f58e219cdd4c3a13 files/digest-makeztxt-1.60 250 10MD5 afff228786104676f58e219cdd4c3a13 files/digest-makeztxt-1.60 250
7RMD160 fa466d1277b7af62d83c2bd526311142b67a4234 files/digest-makeztxt-1.60 250 11RMD160 fa466d1277b7af62d83c2bd526311142b67a4234 files/digest-makeztxt-1.60 250
8SHA256 dcd4092ca32ac7a40c3a3a310b881015e627eb4ed6d2d208ac8ac6df43526a5b files/digest-makeztxt-1.60 250 12SHA256 dcd4092ca32ac7a40c3a3a310b881015e627eb4ed6d2d208ac8ac6df43526a5b 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 @@
1diff --git a/Makefile b/Makefile
2index 17c5302..47f5075 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -6,11 +6,11 @@
6
7 VERSION= 1.60
8
9 -LIBS= -lztxt
10 +LIBS+= -lztxt
11 INCLUDE= -I../common -I.
12
13 CC= gcc
14 -CFLAGS= -Wall -O2 -pipe $(INCLUDE)
15 +CFLAGS+= -Wall -O2 -pipe $(INCLUDE)
16 # GNU make is mandatory
17 #MAKE= make
18
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
@@ -10,11 +10,23 @@ SRC_URI="mirror://sourceforge/gutenpalm/${P}-src.tar.gz"
10LICENSE="GPL-2" 10LICENSE="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
20src_install() { 32src_install() {