[packages/cacti-spine] fix make dep for manual

glen glen at pld-linux.org
Thu Feb 25 22:18:09 CET 2016


commit 1e305c38533445cdaf2bc8a2e395c1a40632c72a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Feb 25 23:13:59 2016 +0200

    fix make dep for manual
    
    otherwise make -j16 fails
    
    http://bugs.cacti.net/view.php?id=2663

 cacti-spine.spec |  2 ++
 man-dep.patch    | 12 ++++++++++++
 2 files changed, 14 insertions(+)
---
diff --git a/cacti-spine.spec b/cacti-spine.spec
index 8564ff8..bdffa8a 100644
--- a/cacti-spine.spec
+++ b/cacti-spine.spec
@@ -18,6 +18,7 @@ Source0:	http://www.cacti.net/downloads/spine/%{name}-%{version}.tar.gz
 # Source0-md5:	9e90936b950a7a353b31bf16ff7798f4
 Patch0:		%{name}-paths.patch
 Patch1:		x32.patch
+Patch2:		man-dep.patch
 # Official patches http://www.cacti.net/spine_download_patches.php
 URL:		http://www.cacti.net/
 BuildRequires:	autoconf
@@ -55,6 +56,7 @@ procesorem cmd.php.
 %ifarch x32
 %patch1 -p1
 %endif
+%patch2 -p1
 
 %build
 %{__libtoolize}
diff --git a/man-dep.patch b/man-dep.patch
new file mode 100644
index 0000000..7cfa3d4
--- /dev/null
+++ b/man-dep.patch
@@ -0,0 +1,12 @@
+http://bugs.cacti.net/view.php?id=2663
+
+--- cacti-spine-0.8.8g/Makefile.am~	2016-02-22 03:49:22.000000000 +0200
++++ cacti-spine-0.8.8g/Makefile.am	2016-02-25 23:12:58.718455284 +0200
+@@ -9,5 +9,5 @@
+ 
+ man_MANS = spine.1
+ 
+-spine.1: spine.c 
+-	$(HELP2MAN) --output=$@ --name='Data Collector for Cacti' --no-info --version-option='--version' ./spine
++spine.1: ./spine
++	$(HELP2MAN) --output=$@ --name='Data Collector for Cacti' --no-info --version-option='--version' $<
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cacti-spine.git/commitdiff/1e305c38533445cdaf2bc8a2e395c1a40632c72a



More information about the pld-cvs-commit mailing list