pre-generated docs are misplaced in the root folder since the asciidoc files are in the doc/ subfolder now, so build fails without xmlto also: makefile sets version to "1.2.1.1" although the tarball is named "1.2.1". We could pass VERSION="${PV}" to emake --- dev-vcs/tig/tig-1.2.ebuild +++ dev-vcs/tig/tig-1.2.1.ebuild @@ -16,6 +16,7 @@ CDEPEND="sys-libs/ncurses" DEPEND="${CDEPEND} + app-text/xmlto virtual/pkgconfig" RDEPEND="${CDEPEND} dev-vcs/git"
a minor notice: makefile does not respect CFLAGS in the linking commands
(In reply to Julian Ospald (hasufell) from comment #1) > a minor notice: makefile does not respect CFLAGS in the linking commands CFLAGS shouldn't matter during linking anyway. Added to CVS.
(In reply to Tim Harder from comment #2) > (In reply to Julian Ospald (hasufell) from comment #1) > > a minor notice: makefile does not respect CFLAGS in the linking commands > > CFLAGS shouldn't matter during linking anyway. > https://bugs.gentoo.org/show_bug.cgi?id=446281#c5
(In reply to Julian Ospald (hasufell) from comment #3) > (In reply to Tim Harder from comment #2) > > (In reply to Julian Ospald (hasufell) from comment #1) > > > a minor notice: makefile does not respect CFLAGS in the linking commands > > > > CFLAGS shouldn't matter during linking anyway. > > > > https://bugs.gentoo.org/show_bug.cgi?id=446281#c5 Right, so again CFLAGS *shouldn't* matter during linking but people are sometimes oblivious. Anyway I'm planning to fix it but just didn't feel like doing it for the release since it's not highly important for a simple package like tig.
(In reply to Tim Harder from comment #4) > (In reply to Julian Ospald (hasufell) from comment #3) > > (In reply to Tim Harder from comment #2) > > > (In reply to Julian Ospald (hasufell) from comment #1) > > > > a minor notice: makefile does not respect CFLAGS in the linking commands > > > > > > CFLAGS shouldn't matter during linking anyway. > > > > > > > https://bugs.gentoo.org/show_bug.cgi?id=446281#c5 > > Right, so again CFLAGS *shouldn't* matter during linking but people are > sometimes oblivious. Anyway I'm planning to fix it but just didn't feel like > doing it for the release since it's not highly important for a simple > package like tig. I have sent this patch upstream --- a/Makefile +++ b/Makefile @@ -184,7 +184,9 @@ tig.o: tig.c tig.h io.h refs.h graph.h git.h tig: tig.o io.o graph.o refs.o $(COMPAT_OBJS) -test-graph: io.o graph.o + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS) +test-graph: io.o graph.o test-graph.o + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS) # To check the above. #
http://repo.or.cz/w/tig.git/commitdiff/dad8bc5f1987e27b1692812d290817b1bdd0386a