summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorjoerg <joerg>2014-04-21 18:14:53 +0000
committerjoerg <joerg>2014-04-21 18:14:53 +0000
commite78c1f588c53ae226eec4b6ebccb88ec1bca7592 (patch)
tree9b3b5dfa02be7446391a9d86313b477cb8f507cd /time
parent30f03cdd8be48b4620ce2c6240ea5f39f1125f8a (diff)
downloadpkgsrc-e78c1f588c53ae226eec4b6ebccb88ec1bca7592.tar.gz
Don't use profiling flags by default.
Diffstat (limited to 'time')
-rw-r--r--time/libgcal/distinfo3
-rw-r--r--time/libgcal/patches/patch-CMakeLists.txt18
2 files changed, 20 insertions, 1 deletions
diff --git a/time/libgcal/distinfo b/time/libgcal/distinfo
index 335f805ad01..d3acaf6f6a3 100644
--- a/time/libgcal/distinfo
+++ b/time/libgcal/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2013/07/02 11:37:34 rodent Exp $
+$NetBSD: distinfo,v 1.2 2014/04/21 18:14:53 joerg Exp $
SHA1 (libgcal-0.9.6.tar.bz2) = d616b911a99b1846851371184dcd547dccf548de
RMD160 (libgcal-0.9.6.tar.bz2) = 1ee61c22190d929178d9c75ced8a984536e2c1e2
Size (libgcal-0.9.6.tar.bz2) = 555942 bytes
+SHA1 (patch-CMakeLists.txt) = 3a40b248d5b36d13701186af276a6c0b8712ea7f
diff --git a/time/libgcal/patches/patch-CMakeLists.txt b/time/libgcal/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..31ec82f3157
--- /dev/null
+++ b/time/libgcal/patches/patch-CMakeLists.txt
@@ -0,0 +1,18 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2014/04/21 18:14:53 joerg Exp $
+
+--- CMakeLists.txt.orig 2014-04-20 18:45:19.000000000 +0000
++++ CMakeLists.txt
+@@ -94,13 +94,6 @@ include_directories(
+ ${LIBXML2_INCLUDE_DIR}
+ )
+
+-# If we've found GCov then add the necessary profiling flags.
+-if(GCOV)
+- set(CMAKE_C_FLAGS
+- "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage"
+- )
+-endif()
+-
+ add_subdirectory(${GCAL_SOURCE_DIR})
+
+ if(ENABLE_TESTS)