summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-04-21 18:14:53 +0000
committerjoerg <joerg@pkgsrc.org>2014-04-21 18:14:53 +0000
commita556f83e9ada7646756f9282958971b348dc2cc4 (patch)
tree4a7415b31f1613f20b2c483946a70a1e2e31cdc4 /time
parentbdc9d32f39d46aa7c951bd2526fdbc0a3d510005 (diff)
downloadpkgsrc-a556f83e9ada7646756f9282958971b348dc2cc4.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)