Ticket #11664: xterm-225_0+flags.diff

File xterm-225_0+flags.diff, 863 bytes (added by pipping@…, 18 years ago)
  • Portfile

     
    1818                                        sha1 55598c979da15fe219ddd07bfdd15eb08460026b \
    1919                                        rmd160 ceba9372d85ef1a74f3a2ebeb37199bc80949006
    2020depends_lib                     lib:libX11.6:XFree86 port:ncurses
    21 configure.args          --mandir=${prefix}/share/man \
    22                     CPPFLAGS="-I${prefix}/include" \
    23                     LDFLAGS="-L${prefix}/lib"
     21configure.args          --mandir=${prefix}/share/man
    2422
    25 # FLAGS in configure.env are ignored. If -ltermcap stays in the LDFLAGS,
    26 # xterm is linked against both /usr/lib's and ${prefix}/lib's libncurses.
     23# If -ltermcap stays in the LDFLAGS, xterm is linked against both
     24# /usr/lib's and ${prefix}/lib's libncurses.
    2725
    2826post-configure {
    2927    reinplace "s|-ltermcap|-lncurses|" ${worksrcpath}/Makefile