1 |
commit: e4afda5e047892249bdaf5a71c362ddd2a8ceb67 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 20:03:31 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 20:03:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4afda5e |
7 |
|
8 |
app-misc/pipeworks: update EAPI 6 -> 8 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
.../pipeworks/files/pipeworks-0.4-makefile.patch | 26 ++++++++++++++++++++++ |
13 |
...works-0.4-r1.ebuild => pipeworks-0.4-r2.ebuild} | 12 +++++----- |
14 |
2 files changed, 31 insertions(+), 7 deletions(-) |
15 |
|
16 |
diff --git a/app-misc/pipeworks/files/pipeworks-0.4-makefile.patch b/app-misc/pipeworks/files/pipeworks-0.4-makefile.patch |
17 |
new file mode 100644 |
18 |
index 000000000000..8a52d158b0e4 |
19 |
--- /dev/null |
20 |
+++ b/app-misc/pipeworks/files/pipeworks-0.4-makefile.patch |
21 |
@@ -0,0 +1,26 @@ |
22 |
+--- a/Makefile |
23 |
++++ b/Makefile |
24 |
+@@ -18,21 +18,11 @@ |
25 |
+ # along with pipeworks; if not, write to the Free Software |
26 |
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
27 |
+ |
28 |
+-CC= gcc -Wall |
29 |
++CFLAGS += -Wall |
30 |
+ |
31 |
+ all: pipeworks |
32 |
+ |
33 |
+-filesize.o: Makefile filesize.h filesize.c |
34 |
+- $(CC) -c -o filesize.o filesize.c |
35 |
+- |
36 |
+-timemanip.o: Makefile timemanip.h timemanip.c |
37 |
+- $(CC) -c -o timemanip.o timemanip.c |
38 |
+- |
39 |
+-pipeworks.o: Makefile pipeworks.c filesize.h |
40 |
+- $(CC) -c -o pipeworks.o pipeworks.c |
41 |
+- |
42 |
+-pipeworks: pipeworks.o filesize.o timemanip.o |
43 |
+- $(CC) -o pipeworks pipeworks.o filesize.o timemanip.o |
44 |
++pipeworks: filesize.o timemanip.o |
45 |
+ |
46 |
+ clean: |
47 |
+ rm -f *.o *~ pipeworks |
48 |
|
49 |
diff --git a/app-misc/pipeworks/pipeworks-0.4-r1.ebuild b/app-misc/pipeworks/pipeworks-0.4-r2.ebuild |
50 |
similarity index 75% |
51 |
rename from app-misc/pipeworks/pipeworks-0.4-r1.ebuild |
52 |
rename to app-misc/pipeworks/pipeworks-0.4-r2.ebuild |
53 |
index 28c0a7a154e0..bcef6fb41379 100644 |
54 |
--- a/app-misc/pipeworks/pipeworks-0.4-r1.ebuild |
55 |
+++ b/app-misc/pipeworks/pipeworks-0.4-r2.ebuild |
56 |
@@ -1,7 +1,7 @@ |
57 |
-# Copyright 1999-2021 Gentoo Authors |
58 |
+# Copyright 1999-2022 Gentoo Authors |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
|
61 |
-EAPI=6 |
62 |
+EAPI=8 |
63 |
|
64 |
inherit toolchain-funcs |
65 |
|
66 |
@@ -12,13 +12,11 @@ SRC_URI="mirror://sourceforge/pipeworks/${P}.tar.gz" |
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
70 |
-IUSE="" |
71 |
|
72 |
-RDEPEND="" |
73 |
-DEPEND="${RDEPEND}" |
74 |
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) |
75 |
|
76 |
-src_compile() { |
77 |
- emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" |
78 |
+src_configure() { |
79 |
+ tc-export CC |
80 |
} |
81 |
|
82 |
src_install() { |