[46180] trunk/dports/kde/kdeutils4

illogic-al at macports.org illogic-al at macports.org
Sat Jan 31 01:58:19 PST 2009


Revision: 46180
          http://trac.macports.org/changeset/46180
Author:   illogic-al at macports.org
Date:     2009-01-31 01:58:19 -0800 (Sat, 31 Jan 2009)
Log Message:
-----------
Add dependencies and patch to make it compile.

Modified Paths:
--------------
    trunk/dports/kde/kdeutils4/Portfile

Added Paths:
-----------
    trunk/dports/kde/kdeutils4/files/
    trunk/dports/kde/kdeutils4/files/patch_libzipplugin.diff

Modified: trunk/dports/kde/kdeutils4/Portfile
===================================================================
--- trunk/dports/kde/kdeutils4/Portfile	2009-01-31 09:52:09 UTC (rev 46179)
+++ trunk/dports/kde/kdeutils4/Portfile	2009-01-31 09:58:19 UTC (rev 46180)
@@ -17,7 +17,11 @@
 distname            kdeutils-${version}
 checksums           md5 f0ca24c7d3e5bb0ab55bf6b26fc6224e
 
-depends_lib-append  port:kdelibs4 port:kdebase4-runtime
+patchfiles          patch_libzipplugin.diff
+patch.dir           ${workpath}/${distname}
 
+depends_lib-append  port:kdelibs4 port:kdebase4-runtime \
+                    port:libzip port:gmp port:libarchive
+
 configure.args-append	../${distname}
 

Added: trunk/dports/kde/kdeutils4/files/patch_libzipplugin.diff
===================================================================
--- trunk/dports/kde/kdeutils4/files/patch_libzipplugin.diff	                        (rev 0)
+++ trunk/dports/kde/kdeutils4/files/patch_libzipplugin.diff	2009-01-31 09:58:19 UTC (rev 46180)
@@ -0,0 +1,17 @@
+--- ark/plugins/libzipplugin/CMakeLists.txt~	2008-10-22 19:03:27.000000000 -0400
++++ ark/plugins/libzipplugin/CMakeLists.txt	2009-01-31 03:58:14.000000000 -0500
+@@ -4,11 +4,11 @@
+                      ${CMAKE_CURRENT_BINARY_DIR}/../..
+                    )
+ 
+-if(WIN32)
++if(APPLE OR WIN32)
+     set (LIBZIP_COMPILED_WITH_32BIT_OFF_T OFF CACHE BOOL "Whether the system libzip library is compiled with 32bits off_t" )
+-else(WIN32)
++else(APPLE OR WIN32)
+     set (LIBZIP_COMPILED_WITH_32BIT_OFF_T ON CACHE BOOL "Whether the system libzip library is compiled with 32bits off_t" )
+-endif(WIN32)
++endif(APPLE OR WIN32)
+ 
+ if (LIBZIP_COMPILED_WITH_32BIT_OFF_T)
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090131/16f90bb4/attachment.html>


More information about the macports-changes mailing list