Ignore:
Timestamp:
Feb 20, 2007, 8:58:34 PM (14 years ago)
Author:
pipping@…
Message:
  • apply patch submitted by zoarre.37258548@…
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/shells/fish/Portfile

    r20464 r22169  
     1
    12# $Id$
    23
     
    45
    56name                    fish
    6 version                 1.21.11
     7version                 1.22.3
    78categories              shells
    89platforms               darwin
     
    1213                        operating systems like Darwin.
    1314
    14 homepage                http://roo.no-ip.org/fish/
    15 master_sites    http://roo.no-ip.org/fish/files/${version}/
    16 checksums               md5 522fba3b00939f9c36f2eac14ffc10a6
     15homepage                http://www.fishshell.org/
     16master_sites            http://www.fishshell.org/files/${version}/
     17checksums               md5 016a5944861ea48e363521c240834415
    1718use_bzip2               yes
    1819
    1920depends_build   bin:doxygen:doxygen
     21depends_lib     lib:libiconv:libiconv lib:libncurses:ncurses lib:libintl:gettext
    2022
    2123configure.args  --mandir=${prefix}/share/man
    2224
    2325platform darwin 8 {
     26    # there's something wonky about the libiconv headers installed by
     27    # macports that prevents autoconf from detecting libiconv, so i
     28    # have to fake it. See
     29    # <http://permalink.gmane.org/gmane.comp.shells.fish.user/1217>
     30    # for details.
     31    pre-configure {
     32        reinplace "s|AC_SEARCH_LIBS( iconv_open|#AC_SEARCH_LIBS( iconv_open|g" "${worksrcpath}/configure.ac"
     33    }
     34    post-configure {
     35        reinplace "s|LDFLAGS= |LDFLAGS= -liconv |g" "${worksrcpath}/Makefile"
     36    }
    2437        configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
    25     # The following fixes a build bug in 1.21.11. Fixed for 1.21.12.
    26     # See http://comments.gmane.org/gmane.comp.shells.fish.user/672
    27     post-configure {
    28         reinplace "s|-D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112L||" \
    29         "${worksrcpath}/Makefile"
    30     }
    3138}
    3239
Note: See TracChangeset for help on using the changeset viewer.