Revision
74235
Author
michaelld@macports.org
Date
2010-12-08 06:16:50 -0800 (Wed, 08 Dec 2010)

Log Message

kdegraphics4 changes:
 * allow universal building
 * define cmake variables to override those found in user-installed frameworks (e.g., in /Library/Frameworks).

Modified Paths

Diff

Modified: trunk/dports/kde/kdegraphics4/Portfile (74234 => 74235)


--- trunk/dports/kde/kdegraphics4/Portfile	2010-12-08 06:38:26 UTC (rev 74234)
+++ trunk/dports/kde/kdegraphics4/Portfile	2010-12-08 14:16:50 UTC (rev 74235)
@@ -31,11 +31,13 @@
     }
 }
 
+# explicitly define certain headers and libraries, to avoid
+# conflicts with those installed into system paths by the user.
 configure.args-append   -DQCA2_LIBRARIES=${prefix}/lib/libqca.2.dylib \
                         -DQCA2_INCLUDE_DIR=${prefix}/include/QtCrypto \
-                        -DGWENVIEW_SEMANTICINFO_BACKEND=None
+                        -DGWENVIEW_SEMANTICINFO_BACKEND=None \
+                        -DJPEG_INCLUDE_DIR=${prefix}/include \
+                        -DTIFF_INCLUDE_DIR=${prefix}/include
 
-universal_variant   no
-
 livecheck.url       http://mirrors.ibiblio.org/pub/mirrors/kde/stable/latest/src/
 livecheck.regex     kdegraphics-(\\d+\\.\\d+\\.\\d+)${extract.suffix}