handle only subports install files
Bradley Giesbrecht
pixilla at macports.org
Mon Mar 19 12:11:44 PDT 2012
On Mar 19, 2012, at 11:31 AM, Joshua Root wrote:
> On 2012-3-20 05:19 , Bradley Giesbrecht wrote:
>>
>> Is this better?
>> if {$subport == $name} {
>> set subport "mysql55-connector-cpp"
>> }
On Mar 19, 2012, at 10:36 AM, Joshua Root wrote:
> Again, why have a useless top-level port in the first place?
Apparently when using this code there is no top-level port.
On Mar 19, 2012, at 11:30 AM, Ryan Schmidt wrote:
> I don't think that does what you want. Doesn't that just make the (sub)port "mysql-connector-cpp" install the same files as the subport "mysql55-connector-cpp", thus making them conflict with one another?
$ port dir mysql55-connector-cpp
/opt/local/var/macports/sources/svn.macports.org/trunk/dports/databases/mysql-connector-cpp
$ port info mysql-connector-cpp
Error: Port mysql-connector-cpp not found
$ port info mysql55-connector-cpp
mysql55-connector-cpp @1.1.0 (databases)
Sub-ports: mysql5-connector-cpp, mysql55-connector-cpp, mariadb-connector-cpp, percona-connector-cpp
...
Regards,
Bradley Giesbrecht (pixilla)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2763 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120319/8232993f/attachment.bin>
More information about the macports-dev
mailing list