Gentoo Archives: gentoo-commits

From: Viorel Munteanu <ceamac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/kbuild/
Date: Sun, 27 Nov 2022 10:08:55
Message-Id: 1669543623.e9c538bfdb6c7d4ff996655b9b7cc7b248005b7d.ceamac@gentoo
1 commit: e9c538bfdb6c7d4ff996655b9b7cc7b248005b7d
2 Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 23 11:15:35 2022 +0000
4 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 27 10:07:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9c538bf
7
8 dev-util/kbuild: drop 0.1.9998.3499-r1, 0.1.9998.3572-r1
9
10 Closes: https://github.com/gentoo/gentoo/pull/28399
11 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
12
13 dev-util/kbuild/kbuild-0.1.9998.3499-r1.ebuild | 74 --------------------------
14 dev-util/kbuild/kbuild-0.1.9998.3572-r1.ebuild | 67 -----------------------
15 2 files changed, 141 deletions(-)
16
17 diff --git a/dev-util/kbuild/kbuild-0.1.9998.3499-r1.ebuild b/dev-util/kbuild/kbuild-0.1.9998.3499-r1.ebuild
18 deleted file mode 100644
19 index 26cf9c604e83..000000000000
20 --- a/dev-util/kbuild/kbuild-0.1.9998.3499-r1.ebuild
21 +++ /dev/null
22 @@ -1,74 +0,0 @@
23 -# Copyright 1999-2022 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=8
27 -
28 -inherit autotools toolchain-funcs
29 -
30 -MY_P="${P}-src"
31 -DESCRIPTION="A makefile framework for writing simple makefiles for complex tasks"
32 -HOMEPAGE="https://trac.netlabs.org/kbuild/wiki"
33 -#SRC_URI="ftp://ftp.netlabs.org/pub/${PN}/${MY_P}.tar.gz"
34 -SRC_URI="https://dev.gentoo.org/~polynomial-c/${MY_P}.tar.xz"
35 -
36 -LICENSE="GPL-3+"
37 -SLOT="0"
38 -KEYWORDS="~amd64 ~x86"
39 -IUSE=""
40 -
41 -BDEPEND="
42 - sys-apps/texinfo
43 - sys-devel/flex
44 - sys-devel/gettext
45 - virtual/pkgconfig
46 - virtual/yacc
47 -"
48 -
49 -PATCHES=(
50 - "${FILESDIR}/${PN}-0.1.9998.3407-unknown_configure_opt.patch"
51 - "${FILESDIR}/${PN}-0.1.5-gentoo-docdir.patch"
52 - "${FILESDIR}/${PN}-0.1.9998_pre20120806-qa.patch"
53 - "${FILESDIR}/${PN}-0.1.9998_pre20110817-kash-link-pthread.patch"
54 - "${FILESDIR}/${PN}-0.1.9998.3499-gold.patch"
55 -
56 - # Please check on version bumps if this can be removed
57 - "${FILESDIR}/${PN}-0.1.9998.3499-kash-no_separate_parser_allocator.patch"
58 -
59 - "${FILESDIR}/${PN}-0.1.9998.3572-fix-bison.patch"
60 - "${FILESDIR}/${PN}-0.1.9998.3572-fix-lto.patch"
61 - "${FILESDIR}/${PN}-0.1.9998.3499-implicit-function-declaration.patch"
62 -)
63 -
64 -pkg_setup() {
65 - # Package fails with distcc (bug #255371)
66 - export DISTCC_DISABLE=1
67 -}
68 -
69 -src_prepare() {
70 - default
71 -
72 - # Add a file with the svn revision this package was pulled from
73 - printf '%s\n' "KBUILD_SVN_REV := $(ver_cut 4)" \
74 - > SvnInfo.kmk || die
75 -
76 - cd "${S}/src/kmk" || die
77 - eautoreconf
78 - cd "${S}/src/sed" || die
79 - eautoreconf
80 -
81 - sed -e "s@_LDFLAGS\.$(tc-arch)*.*=@& ${LDFLAGS}@g" \
82 - -e "s@_CFLAGS\.$(tc-arch)*.*=@& ${CFLAGS}@g" \
83 - -e "s@_CXXFLAGS\.$(tc-arch)*.*=@& ${CXXFLAGS}@g" \
84 - -i "${S}"/Config.kmk || die #332225
85 - tc-export CC PKG_CONFIG RANLIB #AR does not work here
86 -}
87 -
88 -src_compile() {
89 - kBuild/env.sh --full emake -f bootstrap.gmk AUTORECONF=true AR="$(tc-getAR)" \
90 - || die "bootstrap failed"
91 -}
92 -
93 -src_install() {
94 - kBuild/env.sh kmk NIX_INSTALL_DIR=/usr PATH_INS="${D}" install \
95 - || die "install failed"
96 -}
97
98 diff --git a/dev-util/kbuild/kbuild-0.1.9998.3572-r1.ebuild b/dev-util/kbuild/kbuild-0.1.9998.3572-r1.ebuild
99 deleted file mode 100644
100 index 37288f1c0a38..000000000000
101 --- a/dev-util/kbuild/kbuild-0.1.9998.3572-r1.ebuild
102 +++ /dev/null
103 @@ -1,67 +0,0 @@
104 -# Copyright 1999-2022 Gentoo Authors
105 -# Distributed under the terms of the GNU General Public License v2
106 -
107 -EAPI=8
108 -
109 -inherit autotools toolchain-funcs
110 -
111 -DESCRIPTION="A makefile framework for writing simple makefiles for complex tasks"
112 -HOMEPAGE="https://trac.netlabs.org/kbuild/wiki"
113 -SRC_URI="https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${P}-src.tar.xz"
114 -
115 -LICENSE="GPL-3+"
116 -SLOT="0"
117 -#KEYWORDS="~amd64 ~x86" # for testing only. This version is buggy
118 -IUSE=""
119 -
120 -BDEPEND="
121 - sys-apps/texinfo
122 - sys-devel/flex
123 - sys-devel/gettext
124 - virtual/pkgconfig
125 - virtual/yacc
126 -"
127 -
128 -PATCHES=(
129 - "${FILESDIR}/${PN}-0.1.9998.3407-unknown_configure_opt.patch"
130 - "${FILESDIR}/${PN}-0.1.5-gentoo-docdir.patch"
131 - "${FILESDIR}/${PN}-0.1.9998_pre20120806-qa.patch"
132 - "${FILESDIR}/${PN}-0.1.9998_pre20110817-kash-link-pthread.patch"
133 - "${FILESDIR}/${PN}-0.1.9998.3572-fix-bison.patch"
134 - "${FILESDIR}/${PN}-0.1.9998.3572-fix-lto.patch"
135 - "${FILESDIR}/${PN}-0.1.9998.3499-implicit-function-declaration.patch"
136 -)
137 -
138 -pkg_setup() {
139 - # Package fails with distcc (bug #255371)
140 - export DISTCC_DISABLE=1
141 -}
142 -
143 -src_prepare() {
144 - default
145 -
146 - # Add a file with the svn revision this package was pulled from
147 - printf '%s\n' "KBUILD_SVN_REV := $(ver_cut 4)" \
148 - > SvnInfo.kmk || die
149 -
150 - cd "${S}/src/kmk" || die
151 - eautoreconf
152 - cd "${S}/src/sed" || die
153 - eautoreconf
154 -
155 - sed -e "s@_LDFLAGS\.$(tc-arch)*.*=@& ${LDFLAGS}@g" \
156 - -e "s@_CFLAGS\.$(tc-arch)*.*=@& ${CFLAGS}@g" \
157 - -e "s@_CXXFLAGS\.$(tc-arch)*.*=@& ${CXXFLAGS}@g" \
158 - -i "${S}"/Config.kmk || die #332225
159 - tc-export CC PKG_CONFIG RANLIB #AR does not work here
160 -}
161 -
162 -src_compile() {
163 - kBuild/env.sh --full emake -f bootstrap.gmk AUTORECONF=true AR="$(tc-getAR)" \
164 - || die "bootstrap failed"
165 -}
166 -
167 -src_install() {
168 - kBuild/env.sh kmk NIX_INSTALL_DIR=/usr PATH_INS="${D}" install \
169 - || die "install failed"
170 -}