summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-08-18 15:04:30 +0200
committerDavid Seifert <soap@gentoo.org>2019-08-18 15:06:00 +0200
commit7bae4800cb2b3a040db34a29b3f380786a8ffca5 (patch)
treee3933b0444d667719c2484c3904800ca2fa0956e /app-text/htmlinc/files
parentapp-i18n/kcc: Port to EAPI 7 (diff)
downloadgentoo-7bae4800cb2b3a040db34a29b3f380786a8ffca5.tar.gz
gentoo-7bae4800cb2b3a040db34a29b3f380786a8ffca5.tar.bz2
gentoo-7bae4800cb2b3a040db34a29b3f380786a8ffca5.zip
app-text/htmlinc: Port to EAPI 7
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-text/htmlinc/files')
-rw-r--r--app-text/htmlinc/files/htmlinc-1.0_beta1-fix-build-system.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/app-text/htmlinc/files/htmlinc-1.0_beta1-fix-build-system.patch b/app-text/htmlinc/files/htmlinc-1.0_beta1-fix-build-system.patch
new file mode 100644
index 000000000000..3d0fff8d86f7
--- /dev/null
+++ b/app-text/htmlinc/files/htmlinc-1.0_beta1-fix-build-system.patch
@@ -0,0 +1,33 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,28 +1,9 @@
+-CC=g++
+-INSTDIR=/usr/local/bin
+-CFLAGS=-Wall
+-STRINGLIB=bytevector.o stringlist.o
+-
+-htmlinc :htmlinc.o
+- $(CC) $(STRINGLIB) htmlinc.o -o htmlinc $(CFLAGS)
+-
+-htmlinc.o: htmlinc.cc stringlist.o bytevector.o
+- $(CC) -c htmlinc.cc $(CFLAGS)
++htmlinc: bytevector.o stringlist.o
+
+ headers: text2h
+ text2h help <help.txt >help.h
+
+-text2h: text2h.o bytevector.o stringlist.o
+- $(CC) $(STRINGLIB) text2h.o -o text2h $(CFLAGS)
+-
+-text2h.o: text2h.cc
+- $(CC) -c text2h.cc $(CFLAGS)
+-
+-bytevector.o: bytevector.h bytevector.cc
+- ${CC} -c bytevector.cc $(CFLAGS)
+-
+-stringlist.o: bytevector.o stringlist.h stringlist.cc
+- $(CC) -c stringlist.cc $(CFLAGS)
++text2h: bytevector.o stringlist.o
+
+ clean:
+ rm *.o text2h htmlinc