summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-01-23 14:09:36 +0000
committerwiz <wiz@pkgsrc.org>2015-01-23 14:09:36 +0000
commitf51a75e9ff8793dfd892e9811a0f0aa6e0758acc (patch)
treef0d3ed975e5095d7793aa70af2bf0709bc062ab1
parent1aa863fe9902f37d57cf1b507d89f423eb9fa7f8 (diff)
downloadpkgsrc-f51a75e9ff8793dfd892e9811a0f0aa6e0758acc.tar.gz
Fix build with cmake-3.1.
-rw-r--r--textproc/ebook-tools/distinfo3
-rw-r--r--textproc/ebook-tools/patches/patch-CMakeLists.txt12
2 files changed, 14 insertions, 1 deletions
diff --git a/textproc/ebook-tools/distinfo b/textproc/ebook-tools/distinfo
index 57b5211abb5..fdc66cd082e 100644
--- a/textproc/ebook-tools/distinfo
+++ b/textproc/ebook-tools/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2010/06/06 23:37:00 markd Exp $
+$NetBSD: distinfo,v 1.3 2015/01/23 14:09:36 wiz Exp $
SHA1 (ebook-tools-0.1.1.tar.gz) = 5c7c177914767412f3c8b145319fa4683755ac90
RMD160 (ebook-tools-0.1.1.tar.gz) = 02ee38ed7175e94577f718cc68c468f4e9d229ea
Size (ebook-tools-0.1.1.tar.gz) = 43280 bytes
+SHA1 (patch-CMakeLists.txt) = 4fbb30c510a8e3a33a1edcf0c85dcda6667ab5a2
SHA1 (patch-ab) = 63d64a50962969f83033af63f4fd00fd91a1f38c
diff --git a/textproc/ebook-tools/patches/patch-CMakeLists.txt b/textproc/ebook-tools/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..06d26e6ccf4
--- /dev/null
+++ b/textproc/ebook-tools/patches/patch-CMakeLists.txt
@@ -0,0 +1,12 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2015/01/23 14:09:36 wiz Exp $
+
+Set minimum version to 3.0 to fix build with 3.1.
+
+--- CMakeLists.txt.orig 2015-01-23 14:07:21.000000000 +0000
++++ CMakeLists.txt
+@@ -1,4 +1,5 @@
+ project (EBOOK-TOOLS)
++cmake_minimum_required(VERSION 3.0)
+
+ #set(CMAKE_CURRENT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
+ set(LIBRARY_OUTPUT_PATH ${EBOOK-TOOLS_BINARY_DIR}/libs)