Changeset 14335 for trunk/dports


Ignore:
Timestamp:
Sep 29, 2005, 8:35:25 PM (14 years ago)
Author:
mww
Message:

Bug: #3287
Submitted by: tonytung@…
Reviewed by: mww@

update to 1.2.0, make mysql4 the default lib to link to

Location:
trunk/dports/python/py-mysql
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-mysql/Portfile

    r10364 r14335  
    1 # $Id: Portfile,v 1.4 2005/01/12 23:10:26 mww Exp $
     1# $Id: Portfile,v 1.5 2005/09/29 20:35:24 mww Exp $
    22
    33PortSystem 1.0
     
    55
    66name                            py-mysql
    7 version                         1.0.0
     7version                         1.2.0
    88categories                      python devel databases
    99maintainers                     ryanwilcox@mac.com
     
    1515master_sites            sourceforge:mysql-python
    1616distname                        MySQL-python-${version}
    17 checksums                       md5 0f9527a3aa4111802f376cc6816cc7cf
     17checksums                       md5 b0eb974cc3c917276e015275e1ec996f
    1818
    19 depends_lib-append      lib:libmysqlclient.10:mysql
     19depends_lib-append      port:mysql4
    2020
    21 post-patch {
    22         cd ${worksrcpath}
    23         reinplace "s|/usr/include|${prefix}/include|g" setup.py
    24         reinplace "s|/usr/lib|${prefix}/lib|g" setup.py
    25         reinplace "s|/sw|${prefix}|g" setup.py
     21variant use_mysql3      {
     22        depends_lib-delete      port:mysql4
     23        depends_lib-append      port:mysql
    2624}
Note: See TracChangeset for help on using the changeset viewer.