[42602] trunk/dports/kde/kdegraphics4/Portfile
illogic-al at macports.org
illogic-al at macports.org
Tue Nov 25 11:23:04 PST 2008
Revision: 42602
http://trac.macports.org/changeset/42602
Author: illogic-al at macports.org
Date: 2008-11-25 11:23:04 -0800 (Tue, 25 Nov 2008)
Log Message:
-----------
Attempt at fixing ticket #17393
Modified Paths:
--------------
trunk/dports/kde/kdegraphics4/Portfile
Modified: trunk/dports/kde/kdegraphics4/Portfile
===================================================================
--- trunk/dports/kde/kdegraphics4/Portfile 2008-11-25 19:09:57 UTC (rev 42601)
+++ trunk/dports/kde/kdegraphics4/Portfile 2008-11-25 19:23:04 UTC (rev 42602)
@@ -18,7 +18,8 @@
depends_lib port:qt4-mac port:kdebase4 \
port:exiv2 port:poppler \
- port:djvulibre port:chmlib
+ port:djvulibre port:chmlib \
+ port:qca
# Poppler needs to be installed with +quartz +qt4 variants
# so this portfile needs to ensure enventually that this happens
@@ -35,15 +36,17 @@
configure.args ../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SYSTEM_PREFIX_PATH=\"/opt/local\;/usr\" \
+ -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix};/usr\" \
-DCMAKE_INSTALL_PREFIX=${prefix} \
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
-DPHONON_INCLUDE_DIR=${prefix}/include \
-DPHONON_LIBRARY=${prefix}/lib/libphonon.dylib \
-DQCA2_LIBRARIES=${prefix}/lib/libqca.2.dylib \
- -DQCA2_INCLUDE_DIR=/opt/local/include/QtCrypto \
+ -DQCA2_INCLUDE_DIR=${prefix}/include/QtCrypto \
-DCMAKE_OSX_SYSROOT=${sysroot} \
-Wno-dev
+# Manually defining qca location forces building of Okular's
+# encrytped openoffice document viewer. Might not want to do that.
variant universal description "Compile for ppc and intel architectures" {
configure.universal_args-delete --disable-dependency-tracking
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081125/38ca95d1/attachment.html>
More information about the macports-changes
mailing list