summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-03-28 01:52:51 +0200
committerDavid Seifert <soap@gentoo.org>2016-03-28 01:52:51 +0200
commitdeaa21ff2b928318d0e1b8fe45aa404411f08086 (patch)
tree34e8eebe6e16a82472bbed0a053f0210b4a98246 /sci-biology/samtools
parentsci-biology/samtools: Add elog message discouraging direct use (diff)
downloadgentoo-deaa21ff2b928318d0e1b8fe45aa404411f08086.tar.gz
gentoo-deaa21ff2b928318d0e1b8fe45aa404411f08086.tar.bz2
gentoo-deaa21ff2b928318d0e1b8fe45aa404411f08086.zip
sci-biology/samtools: Move to SLOT="0.1-legacy" for future legacy versions
Package-Manager: portage-2.2.28
Diffstat (limited to 'sci-biology/samtools')
-rw-r--r--sci-biology/samtools/files/samtools-0.1.20-buildsystem.patch20
-rw-r--r--sci-biology/samtools/samtools-0.1.20-r1.ebuild (renamed from sci-biology/samtools/samtools-0.1.20.ebuild)2
2 files changed, 11 insertions, 11 deletions
diff --git a/sci-biology/samtools/files/samtools-0.1.20-buildsystem.patch b/sci-biology/samtools/files/samtools-0.1.20-buildsystem.patch
index dfdd890b1087..eb9f6934a96f 100644
--- a/sci-biology/samtools/files/samtools-0.1.20-buildsystem.patch
+++ b/sci-biology/samtools/files/samtools-0.1.20-buildsystem.patch
@@ -75,15 +75,15 @@
.PHONY:all-recur lib-recur clean-recur cleanlocal-recur install-recur
-lib:libbam.a
-+lib:libbam-legacy.a
++lib:libbam-0.1-legacy.a
-libbam.a:$(LOBJS)
-+libbam-legacy.a:$(LOBJS)
++libbam-0.1-legacy.a:$(LOBJS)
$(AR) -csru $@ $(LOBJS)
samtools:lib-recur $(AOBJS)
- $(CC) $(CFLAGS) -o $@ $(AOBJS) $(LDFLAGS) libbam.a -Lbcftools -lbcf $(LIBPATH) $(LIBCURSES) -lm -lz -lpthread
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(AOBJS) libbam-legacy.a -Lbcftools -lbcf $(LIBPATH) $(LIBCURSES) -lm -lz -lpthread
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(AOBJS) -L. -lbam-0.1-legacy -Lbcftools -lbcf $(LIBPATH) $(LIBCURSES) -lm -lz -lpthread
razip:razip.o razf.o $(KNETFILE_O)
- $(CC) $(CFLAGS) -o $@ $^ -lz
@@ -105,21 +105,21 @@
-libbam.1.dylib-local:$(LOBJS)
- libtool -dynamic $(LOBJS) -o libbam.1.dylib -lc -lz
-+libbam-legacy.1.dylib-local:$(LOBJS)
-+ libtool -dynamic $(LOBJS) -o libbam-legacy.1.dylib -lc -lz
++libbam-0.1-legacy.1.dylib-local:$(LOBJS)
++ libtool -dynamic $(LOBJS) -o libbam-0.1-legacy.1.dylib -lc -lz
-libbam.so.1-local:$(LOBJS)
- $(CC) -shared -Wl,-soname,libbam.so -o libbam.so.1 $(LOBJS) -lc -lz
-+libbam-legacy.so.1-local:$(LOBJS)
-+ $(CC) $(LDFLAGS) -shared -Wl,-soname,libbam-legacy.so -o libbam-legacy.so.1 $(LOBJS) -lc -lz -lm -lpthread
++libbam-0.1-legacy.so.1-local:$(LOBJS)
++ $(CC) $(LDFLAGS) -shared -Wl,-soname,libbam-0.1-legacy.so -o libbam-0.1-legacy.so.1 $(LOBJS) -lc -lz -lm -lpthread
dylib:
@$(MAKE) cleanlocal; \
case `uname` in \
- Linux) $(MAKE) CFLAGS="$(CFLAGS) -fPIC" libbam.so.1-local;; \
- Darwin) $(MAKE) CFLAGS="$(CFLAGS) -fPIC" libbam.1.dylib-local;; \
-+ Linux) $(MAKE) CFLAGS="$(CFLAGS) -fPIC" libbam-legacy.so.1-local;; \
-+ Darwin) $(MAKE) CFLAGS="$(CFLAGS) -fPIC" libbam-legacy.1.dylib-local;; \
++ Linux) $(MAKE) CFLAGS="$(CFLAGS) -fPIC" libbam-0.1-legacy.so.1-local;; \
++ Darwin) $(MAKE) CFLAGS="$(CFLAGS) -fPIC" libbam-0.1-legacy.1.dylib-local;; \
*) echo 'Unknown OS';; \
esac
@@ -162,7 +162,7 @@
bamcheck:bamcheck.o
- $(CC) $(CFLAGS) -o $@ bamcheck.o -L.. -lm -lbam -lpthread -lz
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ bamcheck.o -L.. -lm -lbam-legacy -lpthread -lz
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ bamcheck.o -L.. -lm -lbam-0.1-legacy -lpthread -lz
bamcheck.o:bamcheck.c ../faidx.h ../khash.h ../sam.h ../razf.h
$(CC) $(CFLAGS) -c -I.. -o $@ bamcheck.c
diff --git a/sci-biology/samtools/samtools-0.1.20.ebuild b/sci-biology/samtools/samtools-0.1.20-r1.ebuild
index 3ee9956f3759..744d15ff5771 100644
--- a/sci-biology/samtools/samtools-0.1.20.ebuild
+++ b/sci-biology/samtools/samtools-0.1.20-r1.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="http://samtools.sourceforge.net/"
SRC_URI="https://github.com/samtools/samtools/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
-SLOT="legacy"
+SLOT="0.1-legacy"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="examples"