From 3b9b9bc5a3cace179a242e215fb857bb263c63a5 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 20 Nov 2016 21:15:47 +0100 Subject: [PATCH] sci-biology/meme: Add $(DESTDIR) to install hooks Gentoo-bug: 600316 Package-Manager: portage-2.3.2 --- .../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 0f3349c9583e..b548de5a39a5 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 @@ -- 2.26.2