On Feb 1, 2009, at 17:01, Joshua Root wrote:

Ryan Schmidt wrote:

On Jan 29, 2009, at 17:53, [email protected] wrote:

Revision: 46122
          http://trac.macports.org/changeset/46122
Author:   [email protected]
Date:     2009-01-29 15:53:05 -0800 (Thu, 29 Jan 2009)
Log Message:
-----------
New port for prior version of libpqxx 2.6.9

Added Paths:
-----------
    trunk/dports/databases/libpqxx26/
    trunk/dports/databases/libpqxx26/Portfile

[snip]

+depends_lib     port:pkgconfig \
+                port:${server}

Does this work? I don't think variables are expanded here.

It's only prefix that isn't expanded,

Oh, I didn't know that.

and then only in the PortIndex.
Other variables will be expanded, but their expanded values in the index
will reflect the setup of the system where the index was generated
rather than the system at the time of use.

Ow. That's almost worse than not expanding (because it might sort of give the impression of working, for now). I mean for example if you want to use ${x11prefix} in a depspec, then that will break for users of Tiger and earlier the instant we upgrade the portindex machine to Leopard or later since x11prefix will change to something that doesn't exist on Tiger and earlier...


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to