Changeset 4332


Ignore:
Timestamp:
Dec 28, 2003, 12:34:49 PM (17 years ago)
Author:
fkr
Message:

Bug: #1138
Submitted by: bchesneau@… (Benoit Chesneau)
Reviewed by:
Approved by:
Obtained from:
Port: exim
Version: 4.30

  • bump to version 4.30
  • includes Benoit's fix (submitted for earlier revision) to properly support

mysql

Location:
trunk/dports/mail/exim
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/exim/Portfile

    r3927 r4332  
    1 # $Id: Portfile,v 1.19 2003/11/11 21:52:19 fkr Exp $
     1# $Id: Portfile,v 1.20 2003/12/28 12:34:49 fkr Exp $
    22
    33PortSystem 1.0
    44name            exim
    5 version         4.24
     5version         4.30
    66categories      mail
    77description     complete replacement for sendmail
     
    1717master_sites    ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \
    1818                ftp://ftp.exim.org/pub/exim/exim4/
    19 checksums       md5 74f4116be9b71991b54b91abd7c99eec
     19checksums       md5 ba8fe22a527172bc3cf6481ba26712cb
    2020depends_build   bin:perl:perl5.8
    2121depends_run     path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
     22
    2223
    2324set exim_user   exim
     
    4748                reinplace "s|__PREFIX|${prefix}|g" ${destroot}${prefix}/etc/rc.d/exim.sh }
    4849
    49 platform darwin 7 {     patchfiles-append       patch-EDITME \
    50                                                 patch-Makefile-Darwin }
     50
     51platform darwin 6 {
     52
     53        if {[variant_isset mysql] || [variant_isset mysql4]} {
     54                patchfiles-append patch-EDITME
     55                reinplace "s|LOOKUP_LIBS=-lresolv|LOOKUP_LIBS=-L${prefix}/lib/mysql -L${prefix}/lib -L/usr/lib -lmysqlclient|g" ${filespath}/patch-EDITME
     56        }
     57}
     58
     59platform darwin 7 {     
     60        patchfiles-append       patch-EDITME
     61                                               
     62        if {[variant_isset mysql] || [variant_isset mysql4]} {
     63                reinplace "s|LOOKUP_LIBS=-lresolv|LOOKUP_LIBS=-L${prefix}/lib/mysql -L${prefix}/lib -L/usr/lib -lresolv -lmysqlclient|g" ${filespath}/patch-EDITME
     64        }
     65       
     66}
    5167
    5268variant smtp-auth { }
     
    5975variant mysql { depends_lib-append      lib:libmysqlclient:mysql }
    6076
     77variant mysql4 { depends_lib-append      lib:libmysqlclient:mysql4 }
     78
    6179variant maildir { }
    6280
    6381post-configure {
    64        
    65         if {[variant_isset mysql]} {
     82        if {[variant_isset mysql] || [variant_isset mysql4]} {
    6683                reinplace "s|# LOOKUP_MYSQL=yes|LOOKUP_MYSQL=yes|g" Local/Makefile
    6784                reinplace "s|# LOOKUP_INCLUDE=.*|LOOKUP_INCLUDE=-I ${prefix}/include/mysql -I ${prefix}/include -I /usr/include|g" Local/Makefile
    68                 reinplace "s|# LOOKUP_LIBS=.*|LOOKUP_LIBS=-L${prefix}/lib/mysql -L${prefix}/lib -L/usr/lib -lmysqlclient|g" Local/Makefile
    6985        }
    7086
  • trunk/dports/mail/exim/files/patch-EDITME

    r3922 r4332  
    55 # LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include
    66 # LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds
    7 +LOOKUP_LIBS=-lresolv
     7+LOOKUP_LIBS=-L/opt/local/lib/mysql -L/opt/local/lib -L/usr/lib -lresolv -lmysqlclient
    88 
    99 #------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.