[63935] trunk/dports/aqua/qtiplot/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Thu Feb 18 10:25:55 PST 2010


Revision: 63935
          http://trac.macports.org/changeset/63935
Author:   macsforever2000 at macports.org
Date:     2010-02-18 10:25:50 -0800 (Thu, 18 Feb 2010)
Log Message:
-----------
Fix build on Snow Leopard. (#23272)

Modified Paths:
--------------
    trunk/dports/aqua/qtiplot/Portfile

Modified: trunk/dports/aqua/qtiplot/Portfile
===================================================================
--- trunk/dports/aqua/qtiplot/Portfile	2010-02-18 15:54:18 UTC (rev 63934)
+++ trunk/dports/aqua/qtiplot/Portfile	2010-02-18 18:25:50 UTC (rev 63935)
@@ -26,7 +26,8 @@
                     port:muparser \
                     port:boost \
                     port:gsl \
-                    port:libpng
+                    port:libpng \
+                    port:zlib
 
 checksums           md5     08e4943cadd5ee39e28e4ce0d61d475a \
                     sha1    ad83187af31172794771012072b57a67f9288628 \
@@ -44,7 +45,8 @@
     # create the configuration, see build.conf.example which comes with the package
     set confFD [open ${worksrcpath}/build.conf "w"]
     puts $confFD "SYS_INCLUDEPATH = ${prefix}/include"
-    puts $confFD "SYS_LIBS = -L${prefix}/lib"
+    # snow leopard seems to need zlib explicitly, see #23272
+    puts $confFD "SYS_LIBS = -L${prefix}/lib -lz"
     puts $confFD "MUPARSER_LIBS = -lmuparser"
     puts $confFD "GSL_LIBS = -lgsl -lgslcblas"
     puts $confFD "BOOST_LIBS = -lboost_date_time-mt -lboost_thread-mt"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100218/a81bdfc2/attachment.html>


More information about the macports-changes mailing list