[44228] trunk/dports/graphics/poppler/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Tue Dec 23 13:42:18 PST 2008
Revision: 44228
http://trac.macports.org/changeset/44228
Author: mcalhoun at macports.org
Date: 2008-12-23 13:42:18 -0800 (Tue, 23 Dec 2008)
Log Message:
-----------
poppler: Accommodate changes to qt4-mac (r44214).
Modified Paths:
--------------
trunk/dports/graphics/poppler/Portfile
Modified: trunk/dports/graphics/poppler/Portfile
===================================================================
--- trunk/dports/graphics/poppler/Portfile 2008-12-23 21:41:24 UTC (rev 44227)
+++ trunk/dports/graphics/poppler/Portfile 2008-12-23 21:42:18 UTC (rev 44228)
@@ -5,6 +5,7 @@
name poppler
version 0.10.2
+revision 1
maintainers nomaintainer
categories graphics
platforms darwin
@@ -20,6 +21,9 @@
sha1 a410ad5fcc036f18024be28ff55411ee62fefa40 \
rmd160 5157486d79b218c7183ad281694ee27f3782812a
+depends_build \
+ port:pkgconfig
+
depends_lib \
port:gtk2 \
port:openjpeg \
@@ -48,9 +52,14 @@
configure.args-delete --disable-poppler-qt4
if ([variant_isset quartz]) {
depends_lib-append port:qt4-mac
+ set qt_dir ${prefix}/libexec/qt4-mac
} else {
depends_lib-append port:qt4-x11
+ set qt_dir ${prefix}/libexec/qt4-x11
}
+ configure.env-append QTDIR=${qt_dir}
+ set env(PATH) "${qt_dir}/bin:$env(PATH)"
+ configure.pkg_config_path ${qt_dir}/lib/pkgconfig
}
test.run yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081223/73b30a8e/attachment.html>
More information about the macports-changes
mailing list