summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-10-09 16:52:52 +0200
committerDavid Seifert <soap@gentoo.org>2016-10-09 17:14:23 +0200
commit895b3abfbdacf52dbd7a0e817eb7ebf101ce55a7 (patch)
tree7cafda14d91b81beace2f8dfdbfdcf343e314ce4 /sci-biology/hmmer/files/hmmer-2.3.2-fix-build-system-destdir.patch
parentsci-biology/hmmer: Version bump to 3.1_beta2 (diff)
downloadgentoo-895b3abfbdacf52dbd7a0e817eb7ebf101ce55a7.tar.gz
gentoo-895b3abfbdacf52dbd7a0e817eb7ebf101ce55a7.tar.bz2
gentoo-895b3abfbdacf52dbd7a0e817eb7ebf101ce55a7.zip
sci-biology/hmmer: Properly SLOT=2 hmmer-2.3.2
Gentoo-bug: 328911, 586960 * EAPI=6 * Introduce SLOT=2 and rename binaries and static libraries Package-Manager: portage-2.3.1
Diffstat (limited to 'sci-biology/hmmer/files/hmmer-2.3.2-fix-build-system-destdir.patch')
-rw-r--r--sci-biology/hmmer/files/hmmer-2.3.2-fix-build-system-destdir.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-biology/hmmer/files/hmmer-2.3.2-fix-build-system-destdir.patch b/sci-biology/hmmer/files/hmmer-2.3.2-fix-build-system-destdir.patch
new file mode 100644
index 000000000000..110c61f11821
--- /dev/null
+++ b/sci-biology/hmmer/files/hmmer-2.3.2-fix-build-system-destdir.patch
@@ -0,0 +1,22 @@
+Make the build system respect DESTDIR, in order to allow staged builds.
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -109,13 +109,13 @@
+ # installs man pages in MANDIR/man1/ (e.g. if MANSUFFIX is 1)
+ # Creates these directories if they don't exist.
+ install:
+- mkdir -p ${BINDIR}
+- -mkdir -p ${MANDIR}/man${MANSUFFIX}
++ mkdir -p ${DESTDIR}${BINDIR}
++ -mkdir -p ${DESTDIR}${MANDIR}/man${MANSUFFIX}
+ for file in $(PROGS) $(PVMPROGS); do\
+- cp src/$$file $(BINDIR)/;\
++ cp src/$$file ${DESTDIR}$(BINDIR)/;\
+ done
+ -for file in hmmer $(PROGS); do\
+- $(INSTMAN) documentation/man/$$file.man $(MANDIR)/man$(MANSUFFIX)/$$file.$(MANSUFFIX);\
++ $(INSTMAN) documentation/man/$$file.man ${DESTDIR}$(MANDIR)/man$(MANSUFFIX)/$$file.$(MANSUFFIX);\
+ done
+
+ # uninstall: Reverses the steps of "make install".