diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
commit | 8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch) | |
tree | 230f3135ceaace633cf93e9838b185c4a6664c2e /app-i18n/qkc | |
parent | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff) |
gentoo resync : 23.09.2020
Diffstat (limited to 'app-i18n/qkc')
-rw-r--r-- | app-i18n/qkc/Manifest | 3 | ||||
-rw-r--r-- | app-i18n/qkc/files/qkc-1.00-makefile.patch | 22 | ||||
-rw-r--r-- | app-i18n/qkc/qkc-1.00.ebuild | 14 |
3 files changed, 30 insertions, 9 deletions
diff --git a/app-i18n/qkc/Manifest b/app-i18n/qkc/Manifest index 76c1a3251f85..3e1bd7f82c6e 100644 --- a/app-i18n/qkc/Manifest +++ b/app-i18n/qkc/Manifest @@ -1,3 +1,4 @@ +AUX qkc-1.00-makefile.patch 354 BLAKE2B a8914be639dabd2fe5aaf35d274fa318c0443a93729802887136e3cb1174787922ae1a7976cb415bc95cc18933219c3a3c716f48d6d37a5d0d7b79fbd933d64c SHA512 2ef29ca90681d02cc39f75124b764b48244b27755b145f8b21213f1faba2d9dbea1ab691dc7ad8dde11a6e7afa8e53cd72bbe77e0c512b6d8f826f3967b6f364 DIST qkcc100.zip 36308 BLAKE2B 3291a7159a63f62c045230e045c6749f6d44ee5173270f1e994c770c14c0381c279c7452acd6861932a8227f13b1e4e8888e9f49654b3a59c93fb9069bfb09aa SHA512 a03f12625c1205d1220c70e2c3bd8f4ef281a3f0f6317ad7a0221624ba6461a7f9fbbb1da68048fc2bb3b071895dfb13aaa630e780fd49eddb0b6c528ce2e4a0 -EBUILD qkc-1.00.ebuild 654 BLAKE2B 2a6abe3bf46eb1bc2762197376b8f9a087d8737fae52a7e9d47e16306fb38aab26945e95b5009555d050dd8bb4881d991cab695b5ac66ac482e87855e21b77d4 SHA512 d7b4f7dc72c5b64fefe8ad94a5484c946c1e97e2dee4bfc9b08aca37c1c20abb378434e1b0310b4934ebd201cfaa0a81d52fedbfed1c987a95e1639b21838628 +EBUILD qkc-1.00.ebuild 580 BLAKE2B 4f6b973356fb51db5e4b950e737a344d0ce802606cd6e6b315f27ffc2fc65930888799d667dbd39169dbba0f87c8ded5eab364be7e6c7843f26351708faa9704 SHA512 31edd0a8f446f9a299fec74e14ddc533d2c7532edd045dea8914e7c50eba6d366df48a0e4894f4750d27fdba64f532df8d170f49492d3fb641117078c6e5ec89 MISC metadata.xml 240 BLAKE2B 3e01f599fdbafa5c02b594007c673bcfcccb41559bd2f42d7ea60a1f13932335cecf353c1216e8feba4bb091385b57f05c4c8b3c62eed6c7bea41e308fc6115c SHA512 12aaa73d9b690de68a5c7b20e214ceb099efa87884b784eafd994f26032b44dcb66e7feac8a5b1df7f349ac05c5a198a7593dff2cc686de158cb21e4c54f38dd diff --git a/app-i18n/qkc/files/qkc-1.00-makefile.patch b/app-i18n/qkc/files/qkc-1.00-makefile.patch new file mode 100644 index 000000000000..ff9d1c97b920 --- /dev/null +++ b/app-i18n/qkc/files/qkc-1.00-makefile.patch @@ -0,0 +1,22 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,18 +1,6 @@ + # Makefile for qkc + +-CC = cc +-BIND = $(CC) +-CFLAGS = -O +-LFLAGS = -o qkc $(CFLAGS) +-OBJ = qkc.o qkcopt.o qkchelp.o qkcconv.o qkctbl.o +- +-.c.o: +- $(CC) $(CFLAGS) -c $< +- +-qkc: $(OBJ) +- $(BIND) $(LFLAGS) $(OBJ) +- +-$(OBJ): qkc.h ++qkc: qkcopt.o qkchelp.o qkcconv.o qkctbl.o + + clean: + rm -f *.o qkc diff --git a/app-i18n/qkc/qkc-1.00.ebuild b/app-i18n/qkc/qkc-1.00.ebuild index b9877517dd47..164c0c12afa7 100644 --- a/app-i18n/qkc/qkc-1.00.ebuild +++ b/app-i18n/qkc/qkc-1.00.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="4" +EAPI=7 inherit toolchain-funcs @@ -14,17 +14,15 @@ SRC_URI="http://hp.vector.co.jp/authors/VA000501/${MY_P}.zip" LICENSE="freedist" SLOT="0" KEYWORDS="~alpha amd64 ppc ppc64 sparc x86" -IUSE="" -DEPEND="app-arch/unzip" +BDEPEND="app-arch/unzip" + S="${WORKDIR}" -src_prepare() { - sed -i "/^LFLAGS/s:$: \${LDFLAGS}:" Makefile -} +PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +src_configure() { + tc-export CC } src_install() { |