[50881] trunk/dports/graphics/vtk-devel/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon May 11 23:54:13 PDT 2009


Revision: 50881
          http://trac.macports.org/changeset/50881
Author:   ryandesign at macports.org
Date:     2009-05-11 23:54:12 -0700 (Mon, 11 May 2009)
Log Message:
-----------
vtk-devel: in the mysql5 and pgsql83 variants, add the database dependency as depends_lib only, not also redundantly as depends_build, and use the path: style of dependency instead of the port: style so that a -devel port could also satisfy the dependency

Modified Paths:
--------------
    trunk/dports/graphics/vtk-devel/Portfile

Modified: trunk/dports/graphics/vtk-devel/Portfile
===================================================================
--- trunk/dports/graphics/vtk-devel/Portfile	2009-05-12 06:46:21 UTC (rev 50880)
+++ trunk/dports/graphics/vtk-devel/Portfile	2009-05-12 06:54:12 UTC (rev 50881)
@@ -540,10 +540,8 @@
     set libPath [lindex $libs $libIdx]
     set libPath [string trim ${libPath} -L ]
     set libFile [exec find ${libPath} -name "libmysqlclient.dylib"]
-    depends_build-append \
-        path:bin/mysql_config5:mysql5
     depends_lib-append \
-        port:mysql5 \
+        path:bin/mysql_config5:mysql5 \
         port:zlib
     configure.args-append \
         -DVTK_USE_MYSQL:BOOL=ON \
@@ -563,10 +561,8 @@
     set libIdx [lsearch -regex $pgconf "^LIBDIR"] 
     set libPath [lindex $pgconf [expr $libIdx + 2]]
     set libFile [exec find ${libPath} -name "libpq.dylib"]
-    depends_build-append \
-        path:lib/postgresql83/bin/pg_config:postgresql83
     depends_lib-append \
-        port:postgresql83
+        path:lib/postgresql83/bin/pg_config:postgresql83
     configure.args-append \
         -DVTK_USE_POSTGRES:BOOL=ON \
         -DPOSTGRES_INCLUDE_DIRECTORIES:PATH=${includePath} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090511/deca3c0a/attachment.html>


More information about the macports-changes mailing list