summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-28 12:28:28 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-28 13:03:07 +0100
commite7b2e3e63860442bcffaadbbd1037995bba244ec (patch)
treead0d207e7d9ec52fad1ff3ec14809b61a5f59e0e /app-cdr/daa2iso/files
parentapp-cdr/gaffitter: Port to EAPI 6 (diff)
downloadgentoo-e7b2e3e63860442bcffaadbbd1037995bba244ec.tar.gz
gentoo-e7b2e3e63860442bcffaadbbd1037995bba244ec.tar.bz2
gentoo-e7b2e3e63860442bcffaadbbd1037995bba244ec.zip
app-cdr/daa2iso: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-cdr/daa2iso/files')
-rw-r--r--app-cdr/daa2iso/files/daa2iso-0.1.7e-buildsystem.patch17
1 files changed, 6 insertions, 11 deletions
diff --git a/app-cdr/daa2iso/files/daa2iso-0.1.7e-buildsystem.patch b/app-cdr/daa2iso/files/daa2iso-0.1.7e-buildsystem.patch
index b084d7bb7236..5163d8bfa5d4 100644
--- a/app-cdr/daa2iso/files/daa2iso-0.1.7e-buildsystem.patch
+++ b/app-cdr/daa2iso/files/daa2iso-0.1.7e-buildsystem.patch
@@ -1,22 +1,17 @@
-Index: work/src/Makefile
-===================================================================
---- work.orig/src/Makefile
-+++ work/src/Makefile
-@@ -1,13 +1,12 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,13 +1,9 @@
EXE = daa2iso
-CFLAGS += -O2 -s
--PREFIX = /usr/local
-+PREFIX = /usr/
+ PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
SRC = $(EXE).c
- all:
+-all:
- $(CC) $(CFLAGS) -c LzmaDec.c
- $(CC) $(CFLAGS) -c tinflate.c
- $(CC) $(SRC) $(CFLAGS) -o $(EXE) LzmaDec.o tinflate.o
-+ $(CC) $(CFLAGS) $(LDFLAGS) -c LzmaDec.c
-+ $(CC) $(CFLAGS) $(LDFLAGS) -c tinflate.c
-+ $(CC) $(SRC) $(CFLAGS) $(LDFLAGS) -o $(EXE) LzmaDec.o tinflate.o
++$(EXE): LzmaDec.o tinflate.o
install:
install -m 755 -d $(BINDIR)