Changeset 14536


Ignore:
Timestamp:
Oct 11, 2005, 1:49:48 AM (15 years ago)
Author:
yeled
Message:

fix up the inclusion of gnuregex and remove the default variant of it.. as
i've now experienced their evilness for myself.

munge config.h and others for gnu regex inclusion (would be easier if we
did install this port ala Bug # 5330)

fix up a depends_lib mistake that overwrote all others.

bump revision and move onto something else ......

Bug: 5276
Submitted by:
Reviewed by:
Approved by:
Obtained from:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/mutt-devel/Portfile

    r14459 r14536  
    1 # $Id: Portfile,v 1.25 2005/10/07 07:19:28 yeled Exp $
     1# $Id: Portfile,v 1.26 2005/10/11 01:49:48 yeled Exp $
    22
    33PortSystem 1.0
    44name            mutt-devel
    55version         1.5.11
    6 revision        2
     6revision        3
    77categories      mail
    88maintainers     mij@opendarwin.org
     
    2323checksums       ${distfiles} md5 00e6f8f7c37d4840e5e30583ebee21ce
    2424patch.args      -p1
    25 default_variants        +gnuregex +pop +imap
     25default_variants        +pop +imap
    2626
    2727worksrcdir      mutt-${portversion}
    2828
    29 depends_lib             port:gettext port:libiconv
     29depends_lib-append              port:gettext port:libiconv
    3030
    3131configure.args  --disable-warnings \
     
    5252# use file size attribute instead of access time
    5353variant buffy { configure.args-append --enable-buffy-size }
     54
    5455variant gnuregex { configure.args-append --enable-regex
    55                                         depends_lib     port:gnuregex }
     56                                        depends_lib-append      port:gnuregex
     57                                        post-configure {
     58                                                        reinplace "s|/. #undef USE_GNU_REGEX ./|#define USE_GNU_REGEX 1|g" ${worksrcpath}/config.h
     59                                                        reinplace "s|#include <regex.h>|#include <gnuregex.h>|g" ${worksrcpath}/mutt_regex.h
     60                                        }
     61                                        }
    5662
    5763variant cvs {
     
    171177                                checksums-append        patch-1.5.11.bc.smtp.11 md5 \
    172178                                        cff0fcc448d66143ae699aacc1c7d2a8
     179                                depends_build-append    port:autoconf
    173180                }
    174181}
Note: See TracChangeset for help on using the changeset viewer.