mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-misc/pipeworks: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
26
app-misc/pipeworks/files/pipeworks-0.4-makefile.patch
Normal file
26
app-misc/pipeworks/files/pipeworks-0.4-makefile.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -18,21 +18,11 @@
|
||||
# along with pipeworks; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
-CC= gcc -Wall
|
||||
+CFLAGS += -Wall
|
||||
|
||||
all: pipeworks
|
||||
|
||||
-filesize.o: Makefile filesize.h filesize.c
|
||||
- $(CC) -c -o filesize.o filesize.c
|
||||
-
|
||||
-timemanip.o: Makefile timemanip.h timemanip.c
|
||||
- $(CC) -c -o timemanip.o timemanip.c
|
||||
-
|
||||
-pipeworks.o: Makefile pipeworks.c filesize.h
|
||||
- $(CC) -c -o pipeworks.o pipeworks.c
|
||||
-
|
||||
-pipeworks: pipeworks.o filesize.o timemanip.o
|
||||
- $(CC) -o pipeworks pipeworks.o filesize.o timemanip.o
|
||||
+pipeworks: filesize.o timemanip.o
|
||||
|
||||
clean:
|
||||
rm -f *.o *~ pipeworks
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
@@ -12,13 +12,11 @@ SRC_URI="mirror://sourceforge/pipeworks/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
Reference in New Issue
Block a user