diff options
Diffstat (limited to 'dev-util/kbuild')
-rw-r--r-- | dev-util/kbuild/Manifest | 4 | ||||
-rw-r--r-- | dev-util/kbuild/kbuild-0.1.9998.3499-r4.ebuild | 79 | ||||
-rw-r--r-- | dev-util/kbuild/kbuild-0.1.9998.3572-r4.ebuild (renamed from dev-util/kbuild/kbuild-0.1.9998.3572-r3.ebuild) | 4 |
3 files changed, 84 insertions, 3 deletions
diff --git a/dev-util/kbuild/Manifest b/dev-util/kbuild/Manifest index 8b7c118bb5c1..e96e414f357a 100644 --- a/dev-util/kbuild/Manifest +++ b/dev-util/kbuild/Manifest @@ -10,11 +10,13 @@ AUX kbuild-0.1.9998.3572-fix-bison.patch 375 BLAKE2B ab316943b88fac929e747d0c106 AUX kbuild-0.1.9998.3572-fix-lto.patch 314 BLAKE2B 42a7c1d3f735870b92c6ffdaf0400c1db63389b430890a892c9b48b90a126508729baeef2fc45bd747c089856a26ec3d10b8a9bfedd4e25a6d6ffd6606ef770b SHA512 7bb2526b4c59533dbfc8ad7c53fb38985fec4cab17740f4a3965fa3e982ba42faaabfe8d78d94c83bd74c771dde9088b1446a6937f96d37808fe9597d6a049f9 AUX kbuild-0.1.9998_pre20110817-kash-link-pthread.patch 296 BLAKE2B ffa7b0167e4a65c59510e20089a63d5c1949b5f14ce167725ee057d9ab75369758e491727d939a111de5bd63719b53a7744b08efe84d34cc81b4d7bba80a3522 SHA512 178da856a83631ca4d86a9b8c20e74b75b76426c177b87c26d4c4b3df86e72f3b6339e8f61948498ab9c4bf047119588f3df8ce78448160afa0840b2cf3aeabb AUX kbuild-0.1.9998_pre20120806-qa.patch 292 BLAKE2B 628ee52d1c147864dba48e37ae25a2ff9e82e38bc907f2771ee3599e9401b26e5b5d4e53a3958a4f8edb2a7c35794677bae141561cf515fd3587b9ac095a7bdd SHA512 2a311e2e79c1e85c3c2c26b3d187355167c237c334687494a8e532b84232340df44b0d896fe6638bf1a9d4ba1c5f1efb29978de3bac0490fe04f2e57f7fb1874 +DIST kbuild-0.1.9998.3499-fix-clang-16.patch.bz2 10271 BLAKE2B fe40a3a0afafefa10da6fe675eec72392fe6bcc318d1d8728363b9e855d10e11d0b7189f875cd2d496bf4871f87b96ed2ad6775e6968e044cc107dad23f5fcab SHA512 8f11355f0bfdda431dba4cb4dcd73c5bf0b10d2380495fe91292846b57fb7f80711d711b0b229fb4a865512d90010a181d1e1ab7d2b57d1a1751ce79440b02dc DIST kbuild-0.1.9998.3499-fix-clang.patch.bz2 10161 BLAKE2B a6f5a5c35553825682db92ab5ab0e1bd638e246fd1fa62dfaf97085e33940ca41c8ab29463ebb61d00c19c6775767ddb8fdfe9c28425741e1616cc43799631a5 SHA512 1a3a7509d899ba2d827329dd6658a67ee93520e89b51ea42f3268053c732785d0c7f808961bde5d5312cc604bedaf617df50eadf4efbb8c4216fe404d378473e DIST kbuild-0.1.9998.3499-src.tar.xz 2371580 BLAKE2B 847c5c67ded37ca87228ff7164d6c7f2f670a57f2fd94d6d0bf4f8896266e7fe5442666c03dbda016564a52dc91d10be83f0d4b0ef5093db0f5210ac8d5f3aaa SHA512 eebdcd1d2fa71313edd764d45a4aa3580078af22d7c5fed32d3d139a4f41c4e028282fdfdda0ee9b617ed0e8e63b8f5d065b3cf6647f08fe446560938b7577fc DIST kbuild-0.1.9998.3572-src.tar.xz 3973848 BLAKE2B 103e42d719fd77bc5c55aea48bdfd01c8ad136529cc76cc8c1297f87e21e5d4e2e7149f9321c5174808613a84331dbea8bb4c0a7662eb2de9e1045c8ad365047 SHA512 96bb5e1759990bf3acaca4b0ba7c02926c6607b0cd94f7fca222b13eee5c3364c64b35e3473c5cee45fa094cb2b851ac9f3a3a9fe60cff894baf46238ccb4006 EBUILD kbuild-0.1.9998.3499-r2.ebuild 2091 BLAKE2B 77e7c34f6194c18d6e6f3399b56b6c78fe8f6af292cf28deecd0734960eba2f5b8840ddfd0066f3330918006d65534b7bdc18f6d66424c37197f793dec656124 SHA512 6710143070ac12c981733989739a34236ad647abadb69de90fd42ed1cc355522ef1f0957ca967f5801712dadfc0b83b729dd779136ed6c5e08f6448a5b932f7a EBUILD kbuild-0.1.9998.3499-r3.ebuild 2175 BLAKE2B 36565f564a6dad6c84337db554ca0cad46f346bdf086d30ff408d08e4d2adc014d36df7c2853d74a5fd94a7f77e8f1d6296d69ab52a6d3fac6fc24f0ece6ccbc SHA512 6522382c1f13e364cca798fc5cf274af33a530d6a20e1bb23d82aaedb28675c5622b0eee199c8b511b13421bd21924c01e629216aabc13c970beb68c2fbfc0e6 -EBUILD kbuild-0.1.9998.3572-r3.ebuild 2041 BLAKE2B f58869cdfcc09aac1eac0aedf56a31118664d2d85629cbc59905ac27c4d21a0d6afbdcbb9c3928d5bdc2e47f51f6eca16ed633952359f5b50ea084bff702fab6 SHA512 1e538a89639077988a19644715bb52fee63eb00067f9a5f53b57e563284036959bf2c9f553d61f83c4658fd79fd09c70e08a0420227ef0a2c80c0e7a95e94119 +EBUILD kbuild-0.1.9998.3499-r4.ebuild 2182 BLAKE2B fc62006cb73868045bed36baf10895f964179fb951ff40a8776a60d171a757a665a21a5cac6370b98a94023f1bb648d98d9109ac5d6dfc28d56fbd07b07d5fa1 SHA512 113424b0d06261ce43ec7a90951d933f5c488c1178d049824f8f46e4d2cd872ac735c257707ad7a11594cb9a8f3496c1de9c51c5844fcafa0d3f75d968180870 +EBUILD kbuild-0.1.9998.3572-r4.ebuild 2047 BLAKE2B f0f3e079954c4b2d8c9afda365fc3257e3af12f2f5f2ef791501836c928637d985969bafb7514e7af384badf0509fbd87fc38a91d3e66a18c4106ae43a3a0394 SHA512 8c685b04987337ba48f9c3073ea096e875cc365bea697b63b22e0fdb8b4d0a9d1650e66a9f2939af0c4b9bc9f90ed87d26fe4e3cdd395b9743b5ba7cfb92e8b1 EBUILD kbuild-9999.ebuild 2125 BLAKE2B 14eb0ca8e3be71a9e82b61f974c59ae06fff52d182a94bd314c968f0e17da0af66b462efdcbdb9fb65f0f7ce29d3a3fa96a3035279f0a4e0691d29f29fe64568 SHA512 2d106f64a7f3307a6dfd85c97727c8083fe0267237be17a5f71502e9f18242afb64cad73ed07099ad41e6d841ffa2c4005afd66a45cf391e5ef2444d980dbda1 MISC metadata.xml 249 BLAKE2B 3bc7510e014ef8df90da064f4ef969eab6cc3311951a6dd556ca7b6f4e2e74e229f12a16ceb641393d1ec1f89d1942718267ecc664a8136df194c40de94a58e4 SHA512 63f88d798d410e4fb6670d199a86a665ab61b09cb9508b4047f13fe73070c682231d35a27c9d2c1fd82a1b8a84676d857b534c96bd09f4562cf13d7fc8de36b2 diff --git a/dev-util/kbuild/kbuild-0.1.9998.3499-r4.ebuild b/dev-util/kbuild/kbuild-0.1.9998.3499-r4.ebuild new file mode 100644 index 000000000000..12fd9f1de8cb --- /dev/null +++ b/dev-util/kbuild/kbuild-0.1.9998.3499-r4.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="A makefile framework for writing simple makefiles for complex tasks" +HOMEPAGE="https://trac.netlabs.org/kbuild/wiki" +SRC_URI=" + https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${P}-src.tar.xz + https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${PN}-0.1.9998.3499-fix-clang-16.patch.bz2 +" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +BDEPEND=" + sys-apps/texinfo + sys-devel/flex + sys-devel/gettext + virtual/pkgconfig + app-alternatives/yacc +" + +PATCHES=( + "${FILESDIR}/${PN}-0.1.9998.3407-unknown_configure_opt.patch" + "${FILESDIR}/${PN}-0.1.5-gentoo-docdir.patch" + "${FILESDIR}/${PN}-0.1.9998_pre20120806-qa.patch" + "${FILESDIR}/${PN}-0.1.9998_pre20110817-kash-link-pthread.patch" + "${FILESDIR}/${PN}-0.1.9998.3499-gold.patch" + + # Please check on version bumps if this can be removed + "${FILESDIR}/${PN}-0.1.9998.3499-kash-no_separate_parser_allocator.patch" + + "${FILESDIR}/${PN}-0.1.9998.3572-fix-bison.patch" + "${FILESDIR}/${PN}-0.1.9998.3572-fix-lto.patch" + "${FILESDIR}/${PN}-0.1.9998.3499-implicit-function-declaration.patch" + "${FILESDIR}/${PN}-0.1.9998.3499-int-conversion.patch" + "${FILESDIR}/${PN}-0.1.9998.3499-fix-CC.patch" + + "${WORKDIR}/${PN}-0.1.9998.3499-fix-clang-16.patch" +) + +pkg_setup() { + # Package fails with distcc (bug #255371) + export DISTCC_DISABLE=1 +} + +src_prepare() { + default + + # Add a file with the svn revision this package was pulled from + printf '%s\n' "KBUILD_SVN_REV := $(ver_cut 4)" \ + > SvnInfo.kmk || die + + cd "${S}/src/kmk" || die + eautoreconf + cd "${S}/src/sed" || die + eautoreconf + + sed -e "s@_LDFLAGS\.$(tc-arch)*.*=@& ${LDFLAGS}@g" \ + -e "s@_CFLAGS\.$(tc-arch)*.*=@& ${CFLAGS}@g" \ + -e "s@_CXXFLAGS\.$(tc-arch)*.*=@& ${CXXFLAGS}@g" \ + -i "${S}"/Config.kmk || die #332225 + tc-export CC PKG_CONFIG RANLIB #AR does not work here +} + +src_compile() { + kBuild/env.sh --full emake -f bootstrap.gmk AUTORECONF=true AR="$(tc-getAR)" \ + || die "bootstrap failed" +} + +src_install() { + kBuild/env.sh kmk NIX_INSTALL_DIR=/usr PATH_INS="${D}" install \ + || die "install failed" +} diff --git a/dev-util/kbuild/kbuild-0.1.9998.3572-r3.ebuild b/dev-util/kbuild/kbuild-0.1.9998.3572-r4.ebuild index 2b1532f82b37..53206a6cd816 100644 --- a/dev-util/kbuild/kbuild-0.1.9998.3572-r3.ebuild +++ b/dev-util/kbuild/kbuild-0.1.9998.3572-r4.ebuild @@ -9,7 +9,7 @@ DESCRIPTION="A makefile framework for writing simple makefiles for complex tasks HOMEPAGE="https://trac.netlabs.org/kbuild/wiki" SRC_URI=" https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${P}-src.tar.xz - https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${PN}-0.1.9998.3499-fix-clang.patch.bz2 + https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${PN}-0.1.9998.3499-fix-clang-16.patch.bz2 " LICENSE="GPL-3+" @@ -36,7 +36,7 @@ PATCHES=( "${FILESDIR}/${PN}-0.1.9998.3499-int-conversion.patch" "${FILESDIR}/${PN}-0.1.9998.3499-fix-CC.patch" - "${WORKDIR}/${PN}-0.1.9998.3499-fix-clang.patch" + "${WORKDIR}/${PN}-0.1.9998.3499-fix-clang-16.patch" ) pkg_setup() { |