Changeset 4268


Ignore:
Timestamp:
Dec 22, 2003, 8:28:09 AM (16 years ago)
Author:
jkh
Message:

Use platform instead of variant since variants don't work with version
numbers, e.g. "variant darwin 7 { ... }" won't be run on Panther whereas
"platform darwin 7 { ... }" will. This is due to differences in the way
the variant procedure name is formulated in each case, a crucial - vs _ naming
convention causing the former to fail. There's only one other port which
tries to use variant this way, so I'll just convert both over to using platform
and we should be fine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/FreeTDS/Portfile

    r4256 r4268  
    1 # $Id: Portfile,v 1.1 2003/12/20 22:23:23 jkh Exp $
     1# $Id: Portfile,v 1.2 2003/12/22 08:28:09 jkh Exp $
    22
    33PortSystem 1.0
     
    1717worksrcdir      freetds-0.61.2
    1818
    19 # The following only applies to Panther builds.  The variant does not work,
    20 # however, so until it does leave it commented out and just have this
    21 # broken on Jaguar.
    22 #variant darwin 7 {
     19# The following only applies to Panther builds.
     20platform darwin 7 {
    2321        patchfiles      patch-src-Makefile.in patch-src-tds-Makefile.in \
    2422                patch-src-server-Makefile.in patch-src-ctlib-Makefile.in \
     
    2826                system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
    2927        }
    30 #}
     28}
Note: See TracChangeset for help on using the changeset viewer.