Created attachment 336880 [details, diff] Patch +DEPEND="virtual/pkgconfig" + src_prepare() { sed \ - -e '/CC/s:=:?=:g' \ - -e "/LIBCURSES/s:=.*$:= $(pkg-config --libs ncurses):g" \ - -e '/^CFLAGS=/d' \ + -e '/^CC=/s:=:?=:' \ + -e "/^LIBCURSES=/s:=.*:= $(pkg-config --libs ncurses):" \ + -e '/^CFLAGS=/s:=:?=:' \ - Uses pkg-config, but does not depend on it - '/CC/s:=:?=:g' replaces | - $(MAKE) CC="$(CC)" DFLAGS="$(DFLAGS)" CFLAGS="$(CFLAGS)" \ | + $(MAKE) CC?="$(CC)" DFLAGS?="$(DFLAGS)" CFLAGS?="$(CFLAGS)" \ while i guess you only wanted to update the assignment. - global switch not needed Thanks
(In reply to comment #0) > - -e "/LIBCURSES/s:=.*$:= $(pkg-config --libs ncurses):g" \ > + -e "/^LIBCURSES=/s:=.*:= $(pkg-config --libs ncurses):" \ > - Uses pkg-config, but does not depend on it And sys-libs/ncurses too.
(In reply to comment #0) > Created attachment 336880 [details, diff] [details, diff] > Patch > > +DEPEND="virtual/pkgconfig" > + > src_prepare() { > sed \ > - -e '/CC/s:=:?=:g' \ > - -e "/LIBCURSES/s:=.*$:= $(pkg-config --libs ncurses):g" \ > - -e '/^CFLAGS=/d' \ > + -e '/^CC=/s:=:?=:' \ > + -e "/^LIBCURSES=/s:=.*:= $(pkg-config --libs ncurses):" \ > + -e '/^CFLAGS=/s:=:?=:' \ > > > - Uses pkg-config, but does not depend on it > - '/CC/s:=:?=:g' replaces > | - $(MAKE) CC="$(CC)" DFLAGS="$(DFLAGS)" CFLAGS="$(CFLAGS)" \ > | + $(MAKE) CC?="$(CC)" DFLAGS?="$(DFLAGS)" CFLAGS?="$(CFLAGS)" \ good catch. I will fix that.
+*samtools-0.1.18-r2 (27 Jan 2013) + + 27 Jan 2013; Justin Lecher <jlec@gentoo.org> -samtools-0.1.18-r1.ebuild, + +samtools-0.1.18-r2.ebuild: + Add missing deps and correct sed lines, #454134; thanks Torsten Veller +