commit:     3b9b9bc5a3cace179a242e215fb857bb263c63a5
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 20 20:15:47 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov 20 20:37:35 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b9b9bc5

sci-biology/meme: Add $(DESTDIR) to install hooks

Gentoo-bug: 600316

Package-Manager: portage-2.3.2

 .../files/meme-4.11.2_p2-fix-build-system.patch    | 25 +++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/sci-biology/meme/files/meme-4.11.2_p2-fix-build-system.patch 
b/sci-biology/meme/files/meme-4.11.2_p2-fix-build-system.patch
index 0f3349c..b548de5 100644
--- a/sci-biology/meme/files/meme-4.11.2_p2-fix-build-system.patch
+++ b/sci-biology/meme/files/meme-4.11.2_p2-fix-build-system.patch
@@ -7,7 +7,7 @@ Fix and modernise build system
 
 --- a/configure.ac
 +++ b/configure.ac
-@@ -76,61 +76,9 @@
+@@ -76,61 +76,10 @@
  AM_CONDITIONAL(WANT_STRLCPY, test ["$have_strlcpy" = no])
  
  # Check for compiler-specific settings
@@ -66,6 +66,7 @@ Fix and modernise build system
 -  LIBEXSLT_CFLAGS="-I\${top_srcdir}/src/libexslt"
 -  LIBXSLT_CFLAGS="-I\${top_srcdir}/src/"
 -fi
++AC_PROG_MKDIR_P
 +AC_SYS_LARGEFILE
 +CFLAGS="-std=gnu89 -Wall -Wno-unused ${CFLAGS}"
 +CPPFLAGS="-DUNIX -D__USE_FIXED_PROTOTYPES__ ${CPPFLAGS}"
@@ -272,6 +273,28 @@ Fix and modernise build system
  memedoc_DATA =  $(NORMAL_FILES)
  endif
  
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -52,7 +52,7 @@
+ endif
+ 
+ dbdir:
+-      mkdir -p $(MEME_DB)
++      $(MKDIR_P) $(DESTDIR)/$(MEME_DB)
+ 
+ all-local:
+ if WEBSITE
+@@ -64,8 +64,8 @@
+ endif
+ 
+ install-data-local:
+-      mkdir -p $(MEME_LOGS)
+-      chmod a+w $(MEME_LOGS)
++      $(MKDIR_P) $(DESTDIR)/$(MEME_LOGS)
++      chmod a+w $(DESTDIR)/$(MEME_LOGS)
+ 
+ distdir = $(PACKAGE)_$(VERSION)
+ 
 --- a/scripts/Makefile.am
 +++ b/scripts/Makefile.am
 @@ -22,8 +22,8 @@

Reply via email to