[109444] trunk/dports/graphics/gd2/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Aug 15 09:55:14 PDT 2013


Revision: 109444
          https://trac.macports.org/changeset/109444
Author:   ryandesign at macports.org
Date:     2013-08-15 09:55:14 -0700 (Thu, 15 Aug 2013)
Log Message:
-----------
gd2: add tiff dependency (#39550); remove pkgconfig dependency and list all library locations with configure args

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

Modified: trunk/dports/graphics/gd2/Portfile
===================================================================
--- trunk/dports/graphics/gd2/Portfile	2013-08-15 16:54:45 UTC (rev 109443)
+++ trunk/dports/graphics/gd2/Portfile	2013-08-15 16:55:14 UTC (rev 109444)
@@ -6,7 +6,7 @@
 PortGroup                   muniversal 1.0
 
 bitbucket.setup             libgd gd-libgd 2.1.0 libgd-
-revision                    2
+revision                    3
 name                        gd2
 categories                  graphics
 maintainers                 ryandesign
@@ -34,8 +34,7 @@
 checksums                   rmd160  3fcdf88e1ca653ffd40ddba607dbc317ca87bf63 \
                             sha256  fa6665dfe3d898019671293c84d77067a3d2ede50884dbcb6df899d508370e5a
 
-depends_build               port:gettext \
-                            port:pkgconfig
+depends_build               port:gettext
 
 depends_lib                 port:expat \
                             port:freetype \
@@ -43,12 +42,20 @@
                             port:jpeg \
                             port:libiconv \
                             port:libpng \
+                            port:tiff \
                             port:libvpx \
                             port:zlib
 
 patchfiles                  patch-src-gdft.c.diff
 
-configure.args-append       --without-x \
+configure.args-append       --with-freetype=${prefix} \
+                            --with-fontconfig=${prefix} \
+                            --with-jpeg=${prefix} \
+                            --with-png=${prefix} \
+                            --with-tiff=${prefix} \
+                            --with-vpx=${prefix} \
+                            --with-zlib=${prefix} \
+                            --without-x \
                             --without-xpm
 
 configure.cflags-append     -DDEFAULT_FONTPATH=\\\"/System/Library/Fonts:/Library/Fonts\\\"
@@ -72,7 +79,8 @@
     depends_lib-append      port:xpm
     configure.args-delete   --without-x \
                             --without-xpm
-    configure.args-append   --x-includes=${prefix}/include \
+    configure.args-append   --with-xpm=${prefix} \
+                            --x-includes=${prefix}/include \
                             --x-libraries=${prefix}/lib
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130815/90d0d17c/attachment.html>


More information about the macports-changes mailing list