aboutsummaryrefslogtreecommitdiff
path: root/misc/kdeutils4/files/patch-ark-plugins-CMakeLists.txt
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2011-05-16 19:26:43 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2011-05-16 19:26:43 +0000
commita34b8d38b831d19001533639592430f41527a96c (patch)
tree039439a298b8e93967986e11178208cf8e1adbe2 /misc/kdeutils4/files/patch-ark-plugins-CMakeLists.txt
parenteb56f7f7066ae94ebacc2284e0b0000539fca8d9 (diff)
downloadports-a34b8d38b831d19001533639592430f41527a96c.tar.gz
ports-a34b8d38b831d19001533639592430f41527a96c.zip
Update KDE Software Compilation ports to 4.6.3
Special thanks to Raphael Kubo da Costa for his work on this update.
Notes
Notes: svn path=/head/; revision=274204
Diffstat (limited to 'misc/kdeutils4/files/patch-ark-plugins-CMakeLists.txt')
-rw-r--r--misc/kdeutils4/files/patch-ark-plugins-CMakeLists.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/misc/kdeutils4/files/patch-ark-plugins-CMakeLists.txt b/misc/kdeutils4/files/patch-ark-plugins-CMakeLists.txt
new file mode 100644
index 000000000000..f157bf403124
--- /dev/null
+++ b/misc/kdeutils4/files/patch-ark-plugins-CMakeLists.txt
@@ -0,0 +1,32 @@
+KDE SVN revision r1230915.
+
+Author: rkcosta (Raphael Kubo da Costa)
+Date: Sun May 8 17:30:06 2011 +0000
+
+ Put the libarchive detection calls before configure_file().
+
+ The generated config.h was using some variables defined only after
+ plugins/CMakeLists.txt called macro_optional_find_package(LibArchive),
+ however the top-level CMakeLists.txt relied on these variables already
+ being set, which was never the case.
+
+ BUG: 271553
+ FIXED-IN: 4.6.4
+
+--- ark/plugins/CMakeLists.txt
++++ ark/plugins/CMakeLists.txt
+@@ -1,5 +1,3 @@
+-macro_optional_find_package(LibArchive)
+-
+ if (LIBARCHIVE_FOUND)
+ if( HAVE_LIBARCHIVE_READ_DISK_API )
+ if( NOT HAVE_LIBARCHIVE_LZMA_SUPPORT OR NOT HAVE_LIBARCHIVE_XZ_SUPPORT )
+@@ -15,8 +13,6 @@ if (LIBARCHIVE_FOUND)
+ endif( HAVE_LIBARCHIVE_READ_DISK_API )
+ endif (LIBARCHIVE_FOUND)
+
+-macro_log_feature(LIBARCHIVE_FOUND "LibArchive" "A library for dealing with a wide variety of archive file formats" "http://code.google.com/p/libarchive/" FALSE "" "Required for among others tar, tar.gz, tar.bz2 formats in Ark.")
+-
+ add_subdirectory( clirarplugin )
+ add_subdirectory( cli7zplugin )
+ add_subdirectory( clizipplugin )