Ticket #48807: py27.patch
File py27.patch, 1.8 KB (added by eborisch (Eric A. Borisch), 8 years ago) |
---|
-
Portfile
8 8 epoch 2 9 9 # Remember to keep py27-tkinter and py27-gdbm's versions sync'd with this 10 10 version 2.7.11 11 revision 211 revision 3 12 12 13 13 set major [lindex [split $version .] 0] 14 14 set branch [join [lrange [split ${version} .] 0 1] .] … … 37 37 patch-Lib-cgi.py.diff \ 38 38 patch-Lib-ctypes-macholib-dyld.py.diff \ 39 39 patch-configure.diff \ 40 patch-libedit.diff \ 40 41 patch-Include-pyport.h.diff \ 41 42 omit-local-site-packages.patch 42 43 … … 47 48 port:db48 \ 48 49 port:ncurses \ 49 50 port:bzip2 \ 50 port:libedit \ 51 port:readline 51 port:libedit 52 52 depends_run port:python_select \ 53 53 port:python2_select 54 54 … … 141 141 } 142 142 143 143 variant readline description {Use readline instead of libedit} { 144 # Building with readline by default for now. See: 145 # https://trac.macports.org/ticket/48807 146 # patchfiles-delete patch-libedit.diff 147 # depends_lib-append port:readline 144 patchfiles-delete patch-libedit.diff 145 depends_lib-append port:readline 148 146 depends_lib-delete port:libedit 149 147 } 150 148 151 variant libedit description {Use libedit instead of readline} {152 patchfiles-append patch-libedit.diff153 depends_lib-delete port:readline154 }155 156 149 variant universal { 157 150 # This patch will need updating when 2.7.6 is released, as ARCH_RUN_32BIT 158 151 # will once again be used for something. See ticket #39270.