aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/randomjungle-disable-static-build.patch
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-11-25 20:36:44 +0100
committerMarius Bakke <mbakke@fastmail.com>2018-11-25 20:38:34 +0100
commit1e92d311c3e43827a76f5bc9a43def7f7690f8c1 (patch)
treec00e599e6dc4ba3e9e4a314ff4065ba83cba8a27 /gnu/packages/patches/randomjungle-disable-static-build.patch
parent18142e23e8ee55d996d9d4ed1113f3d13e81f234 (diff)
downloadguix-1e92d311c3e43827a76f5bc9a43def7f7690f8c1.tar
guix-1e92d311c3e43827a76f5bc9a43def7f7690f8c1.tar.gz
gnu: randomjungle: Do not build static binaries.
* gnu/packages/patches/randomjungle-disable-static-build.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/machine-learning.scm (randomjungle)[source](patches): Add it. [arguments]: Add "--disable-static" to #:configure-flags.
Diffstat (limited to 'gnu/packages/patches/randomjungle-disable-static-build.patch')
-rw-r--r--gnu/packages/patches/randomjungle-disable-static-build.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/patches/randomjungle-disable-static-build.patch b/gnu/packages/patches/randomjungle-disable-static-build.patch
new file mode 100644
index 0000000000..3de6c269fd
--- /dev/null
+++ b/gnu/packages/patches/randomjungle-disable-static-build.patch
@@ -0,0 +1,14 @@
+Drop build time dependency on the static executables.
+
+--- a/src/Makefile.in 2018-11-25 20:27:10.691508925 +0100
++++ b/src/Makefile.in 2018-11-25 20:27:43.565631413 +0100
+@@ -34,8 +34,7 @@
+ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+-bin_PROGRAMS = rjungle$(EXEEXT) rjungle_static$(EXEEXT) \
+- rjunglesparse$(EXEEXT) rjunglesparse_static$(EXEEXT)
++bin_PROGRAMS = rjungle$(EXEEXT) rjunglesparse$(EXEEXT)
+ subdir = src
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4