Ticket #48807: readline.patch

File readline.patch, 2.1 KB (added by eborisch (Eric A. Borisch), 9 years ago)

Patches python 26,27,34,35 to have default +readline variant

  • python26/Portfile

     
    151151   }
    152152}
    153153
     154default_variants     +readline
     155
     156variant readline description {Use readline instead of libedit} {
     157    patchfiles-delete       patch-libedit.diff
     158    depends_lib-append      port:readline
     159    depends_lib-delete      port:libedit
     160}
     161
    154162variant universal {
    155163   post-patch {
    156164      set universal_arch_flags {}
  • python27/Portfile

     
    133133    }
    134134}
    135135
     136default_variants     +readline
     137
     138variant readline description {Use readline instead of libedit} {
     139    patchfiles-delete       patch-libedit.diff
     140    depends_lib-append      port:readline
     141    depends_lib-delete      port:libedit
     142}
     143
    136144variant universal {
    137145    # This patch will need updating when 2.7.6 is released, as ARCH_RUN_32BIT
    138146    # will once again be used for something. See ticket #39270.
  • python34/Portfile

     
    139139   }
    140140}
    141141
     142default_variants     +readline
     143
     144variant readline description {Use readline instead of libedit} {
     145    patchfiles-delete       patch-libedit.diff
     146    depends_lib-append      port:readline
     147    depends_lib-delete      port:libedit
     148}
     149
    142150variant universal {
    143151   post-patch {
    144152      set universal_arch_flags {}
  • python35/Portfile

     
    139139   }
    140140}
    141141
     142default_variants     +readline
     143
     144variant readline description {Use readline instead of libedit} {
     145    patchfiles-delete       patch-libedit.diff
     146    depends_lib-append      port:readline
     147    depends_lib-delete      port:libedit
     148}
     149
    142150variant universal {
    143151    post-patch {
    144152        set universal_arch_flags {}