[133752] trunk/dports/graphics/poppler/Portfile

devans at macports.org devans at macports.org
Tue Mar 10 13:34:42 PDT 2015


Revision: 133752
          https://trac.macports.org/changeset/133752
Author:   devans at macports.org
Date:     2015-03-10 13:34:42 -0700 (Tue, 10 Mar 2015)
Log Message:
-----------
poppler: fix build of poppler-qt4-mac on older systems that don't provide git.

Modified Paths:
--------------
    trunk/dports/graphics/poppler/Portfile

Modified: trunk/dports/graphics/poppler/Portfile
===================================================================
--- trunk/dports/graphics/poppler/Portfile	2015-03-10 18:15:44 UTC (rev 133751)
+++ trunk/dports/graphics/poppler/Portfile	2015-03-10 20:34:42 UTC (rev 133752)
@@ -75,12 +75,14 @@
 }
 
 if {${subport} ne ${name}} {
+    depends_build-append    port:git
+
+    depends_lib-append      port:poppler
+
     post-extract {
-        system -W ${workpath} "git clone --depth=1 git://git.freedesktop.org/git/poppler/test"
+        system -W ${workpath} "${prefix}/bin/git clone --depth=1 git://git.freedesktop.org/git/poppler/test"
     }
     
-    depends_lib-append      port:poppler
-
     configure.args-append   --disable-cairo-output \
                             --disable-poppler-glib \
                             --disable-poppler-cpp \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150310/627e5f8b/attachment.html>


More information about the macports-changes mailing list