[arch-commits] Commit in thin-provisioning-tools/repos (3 files)
Christian Hesse
eworm at archlinux.org
Mon Nov 13 15:56:03 UTC 2017
Date: Monday, November 13, 2017 @ 15:56:02
Author: eworm
Revision: 309835
archrelease: copy trunk to testing-x86_64
Added:
thin-provisioning-tools/repos/testing-x86_64/
thin-provisioning-tools/repos/testing-x86_64/0001-fix-build-with-testing-disabled.patch
(from rev 309834, thin-provisioning-tools/trunk/0001-fix-build-with-testing-disabled.patch)
thin-provisioning-tools/repos/testing-x86_64/PKGBUILD
(from rev 309834, thin-provisioning-tools/trunk/PKGBUILD)
--------------------------------------------+
0001-fix-build-with-testing-disabled.patch | 35 +++++++++++++++++++++++++++
PKGBUILD | 28 +++++++++++++++++++++
2 files changed, 63 insertions(+)
Copied: thin-provisioning-tools/repos/testing-x86_64/0001-fix-build-with-testing-disabled.patch (from rev 309834, thin-provisioning-tools/trunk/0001-fix-build-with-testing-disabled.patch)
===================================================================
--- testing-x86_64/0001-fix-build-with-testing-disabled.patch (rev 0)
+++ testing-x86_64/0001-fix-build-with-testing-disabled.patch 2017-11-13 15:56:02 UTC (rev 309835)
@@ -0,0 +1,35 @@
+From 8d75be81120b9cf172c95d0153c5f845ed804234 Mon Sep 17 00:00:00 2001
+From: Adam Sampson <ats-github at offog.org>
+Date: Mon, 16 Oct 2017 13:07:36 +0100
+Subject: [functional-tests] fix build with testing disabled (#88)
+
+The rule for lib/libft.so is only enabled with --enable-testing,
+so the default target shouldn't depend unconditionally on it.
+With the default configure options, the build failed with:
+make: *** No rule to make target 'lib/libft.so', needed by 'all'. Stop.
+---
+ Makefile.in | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index e745739..02b75dd 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -21,8 +21,13 @@ V=@
+ PROGRAMS=\
+ bin/pdata_tools
+
++ifeq ("@TESTING@", "yes")
++TESTLIBS=\
++ lib/libft.so
++endif
++
+ .PHONY: all
+-all: $(PROGRAMS) lib/libft.so
++all: $(PROGRAMS) $(TESTLIBS)
+
+ SOURCE=\
+ base/output_file_requirements.cc \
+--
+cgit v1.1-22-g1649
+
Copied: thin-provisioning-tools/repos/testing-x86_64/PKGBUILD (from rev 309834, thin-provisioning-tools/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-11-13 15:56:02 UTC (rev 309835)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Contributor: Jason Hall <cakersq at gmail.com>
+
+pkgname=thin-provisioning-tools
+pkgver=0.7.5
+pkgrel=1
+pkgdesc='Suite of tools for manipulating the metadata of the dm-thin device-mapper target'
+arch=('i686' 'x86_64')
+url="https://github.com/jthornber/thin-provisioning-tools"
+license=('GPL3')
+depends=('expat' 'gcc-libs' 'libaio')
+makedepends=('boost')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jthornber/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('bcb8b8a8be6fdbce54bd22aca00b6c8dc869e3b0cb125e0ac9a582d002e87f65')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ autoconf
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" BINDIR="${pkgdir}"/usr/bin MANDIR=/usr/share/man install
+}
+
More information about the arch-commits
mailing list