diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-biology/hmmer/files/hmmer-2.3.2-fix-build-system-destdir.patch |
reinit the tree, so we can have metadata
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.patch | 22 |
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". |