summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-03-26 18:09:46 +0100
committerUlrich Müller <ulm@gentoo.org>2019-03-26 18:09:46 +0100
commit27dffa7dff419a087ed1dd091bc98c98f685f5a4 (patch)
tree0aaf90be1f9b5608a55ce25b2dd8445dba01c47d /dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch
parentwww-client/conkeror: Remove package. (diff)
downloadulm-27dffa7dff419a087ed1dd091bc98c98f685f5a4.tar.gz
ulm-27dffa7dff419a087ed1dd091bc98c98f685f5a4.tar.bz2
ulm-27dffa7dff419a087ed1dd091bc98c98f685f5a4.zip
dev-util/ninka: Initial import.
Ebuild contributed by me. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch')
-rw-r--r--dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch b/dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch
new file mode 100644
index 0000000..d5e046b
--- /dev/null
+++ b/dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch
@@ -0,0 +1,22 @@
+--- ninka-orig/comments/Makefile
++++ ninka/comments/Makefile
+@@ -11,12 +11,13 @@
+ #DEBUG = -g -DDEBUG -DIODEBUG
+
+
+-all:
+- g++ $(DEBUG) $(OPTIONS) $(DEFINES) -c io.cpp
+- g++ $(DEBUG) $(OPTIONS) $(DEFINES) -c dformat.cpp
+- g++ $(DEBUG) $(OPTIONS) $(DEFINES) -c func.cpp
+- g++ $(DEBUG) $(OPTIONS) $(DEFINES) -c main.cpp
+- g++ -o $(NAME) main.o io.o dformat.o func.o
++all: $(NAME)
++
++%.o: %.cpp
++ $(CXX) $(CXXFLAGS) $(DEFINES) -c $<
++
++$(NAME): main.o io.o dformat.o func.o
++ $(CXX) $(LDFLAGS) -o $@ $^
+
+ install:
+ @echo -n "Installing binary: "