diff options
author | Roel Janssen | 2016-03-23 14:31:34 +0100 |
---|---|---|
committer | Roel Janssen | 2016-03-23 14:31:34 +0100 |
commit | 2c95c0053a6ffa3339b18a0f585dbb82b555b3e8 (patch) | |
tree | ee515eda6931946795f57552728eb57d0653471d /4store-fix-buildsystem.patch | |
parent | a8604b2b3ba3627e77c8f7189f664a368c750b5e (diff) | |
download | guix-bioinformatics-2c95c0053a6ffa3339b18a0f585dbb82b555b3e8.tar.gz |
gn: Add 4store.
* gn/packages/4store.scm (4store): New variable.
* 4store-fix-buildsystem.patch: New file.
Diffstat (limited to '4store-fix-buildsystem.patch')
-rw-r--r-- | 4store-fix-buildsystem.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/4store-fix-buildsystem.patch b/4store-fix-buildsystem.patch new file mode 100644 index 0000000..a72c4d4 --- /dev/null +++ b/4store-fix-buildsystem.patch @@ -0,0 +1,56 @@ +This patch sets a fixed version to avoid needing Git and the .git/ folder. +It also removes the creation of "/var/lib/4store", which is not available +during the install phase in GNU Guix. + +Patch by Roel Janssen <roel@gnu.org> +*** 4store-1.1.6-orig/configure.ac Wed Feb 4 19:05:24 2015 +--- 4store-1.1.6/configure.ac Wed Mar 23 11:20:38 2016 +*************** +*** 2,13 **** + # Process this file with autoconf to produce a configure script. + + AC_PREREQ([2.50]) +! AC_INIT([4store], m4_esyscmd([./version.sh .version]), [http://4store.org/support/], [4store]) + AC_CONFIG_SRCDIR([src/backend/backend-intl.h]) +! AM_INIT_AUTOMAKE([1.7 std-options -Wall]) + AC_CONFIG_HEADERS(4store-config.h) + + # Checks for programs. + AC_PROG_LIBTOOL + AC_PROG_AWK + AC_PROG_CC +--- 2,14 ---- + # Process this file with autoconf to produce a configure script. + + AC_PREREQ([2.50]) +! AC_INIT([4store], [1.1.6], [http://4store.org/support/], [4store]) + AC_CONFIG_SRCDIR([src/backend/backend-intl.h]) +! AM_INIT_AUTOMAKE([1.7 std-options foreign -Wall]) + AC_CONFIG_HEADERS(4store-config.h) + + # Checks for programs. ++ AM_PROG_AR + AC_PROG_LIBTOOL + AC_PROG_AWK + AC_PROG_CC + +*** 4store-1.1.6-orig/src/utilities/Makefile.am Wed Feb 4 19:05:24 2015 +--- 4store-1.1.6/src/utilities/Makefile.am Wed Mar 23 14:05:56 2016 +*************** +*** 13,20 **** + noinst_PROGRAMS = lex-file-verify 4s-rid + + install-data-local: +! mkdir -p $(DESTDIR)@FS_STORE_ROOT@ +! chmod 1777 $(DESTDIR)@FS_STORE_ROOT@ + + 4s_backend_destroy_SOURCES = backend-destroy.c + 4s_backend_destroy_LDADD = ../common/lib4sintl.a +--- 13,19 ---- + noinst_PROGRAMS = lex-file-verify 4s-rid + + install-data-local: +! echo "Please create the following directory: " $(DESTDIR)@FS_STORE_ROOT@ + + 4s_backend_destroy_SOURCES = backend-destroy.c + 4s_backend_destroy_LDADD = ../common/lib4sintl.a |