Changeset 18628


Ignore:
Timestamp:
Jul 16, 2006, 11:39:03 AM (14 years ago)
Author:
yeled
Message:

Update to latest. GNUTLS is now a default.

Thanks to fink for helping me track down where the getopt problems were
with lftp > 3.4.0.

This should fix any open bugs on lftp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/lftp/Portfile

    r17786 r18628  
    1 # $Id: Portfile,v 1.27 2006/04/29 20:22:00 markd Exp $
     1# $Id: Portfile,v 1.28 2006/07/16 11:39:03 yeled Exp $
    22
    33PortSystem 1.0
    44name                lftp
    5 version             3.3.5
    6 revision                1
     5version             3.5.1
    76categories          net
    87maintainers         yeled@opendarwin.org
     
    1716                    reput, mirror, reverse mirror among its features.
    1817homepage            http://lftp.yar.ru/
    19 platforms           darwin freebsd
     18platforms           darwin
     19
     20depends_lib      port:expat port:gettext port:libiconv port:ncurses port:readline
    2021
    2122master_sites        ftp://ftp.wiretapped.net/pub/mirrors/${name}/ \
     
    2425                                        http://ftp.yars.free.net/pub/source/${name}/
    2526use_bzip2           yes
    26 checksums           md5 5bacd284d10f578fcd4feeaefebca6f3
     27checksums           md5 c6d48782cdad4759000bf7cd24555723
    2728
    28 patchfiles              patch-commands.cc.diff
     29default_variants        +tls
    2930
    30 platform darwin8        {
    31                 pre-configure {
    32                                 reinplace "s|poll_works=yes|poll_works=no|g" \
    33                                 ${worksrcpath}/configure
    34                 }
     31pre-configure {
     32# for some bogus Apple headers.
     33                reinplace "s|poll_works=yes|poll_works=no|g" ${worksrcpath}/configure
     34                reinplace "s|need_relink=yes|need_relink=no|g" ${worksrcpath}/ltmain.sh
     35# for _optopt errors
     36                reinplace "s|^.*LIBOBJS=\"\$LIBOBJS getopt.\$ac_objext\" ;;|  *) LIBOBJS=\"\$LIBOBJS\" ;;|g" ${worksrcpath}/configure
     37                reinplace "s|^.*LIBOBJS=\"\$LIBOBJS getopt1.\$ac_objext\" ;;|  *) LIBOBJS=\"\$LIBOBJS\" ;;|g" ${worksrcpath}/configure
     38# for ssl/tls breakage.
     39                reinplace "s|CDECL void srandom(unsigned seed);||g" ${worksrcpath}/src/ResMgr.cc
    3540}
    3641
    37 configure.args      --mandir=${prefix}/share/man \
    38                     --with-pic --disable-share --enable-static --without-openssl \
    39                     --with-included-readline --without-gnutls
     42configure.env   CPPFLAGS="-no-cpp-precomp -Wno-long-double -DBIND_8_COMPAT" \
     43                                LDFLAGS="-Wl,-search_paths_first"
     44
     45configure.args  --mandir=${prefix}/share/man \
     46                --with-pic --disable-share --enable-static --without-openssl \
     47                --without-included-readline --without-gnutls
    4048
    4149post-destroot { xinstall -d ${destroot}${prefix}/share/doc/${name}
     
    4957variant ssl {
    5058        configure.args-append --with-openssl --without-gnutls
    51         configure.args-delete --without-openssl
     59        configure.args-delete --without-openssl --with-gnutls
     60        depends_lib-append port:openssl
    5261}
    5362
    5463variant tls {
    55         configure.args-append --with-openssl --without-gnutls
    56         configure.args-delete --without-openssl
     64        configure.args-append --without-openssl --with-gnutls
     65        configure.args-delete --with-openssl --without-gnutls
     66        depends_lib-append port:gnutls
    5767}
Note: See TracChangeset for help on using the changeset viewer.