Changeset 87442


Ignore:
Timestamp:
Nov 21, 2011, 10:46:45 PM (9 years ago)
Author:
jmr@…
Message:

python2*: make sure we compile with -fwrapv (#30031)

Location:
trunk/dports/lang
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/python24/Portfile

    r80499 r87442  
    66name                    python24
    77version                 2.4.6
    8 revision                9
     8revision                10
    99set major               [lindex [split $version .] 0]
    1010set branch              [join [lrange [split ${version} .] 0 1] .]
     
    3939                        patch-Mac-OSX-Makefile.in \
    4040                        patch-Mac-OSX-IDLE-Makefile.in \
    41                         patch-Mac-OSX-PythonLauncher-Makefile.in
     41                        patch-Mac-OSX-PythonLauncher-Makefile.in \
     42                        patch-fwrapv.diff
    4243
    4344depends_lib             port:gettext port:openssl
  • trunk/dports/lang/python25/Portfile

    r86868 r87442  
    77name                    python25
    88version                 2.5.6
    9 revision                2
     9revision                3
    1010
    1111set branch              [join [lrange [split ${version} .] 0 1] .]
     
    3939                        patch-setup_no_tkinter.py.diff \
    4040                        patch-mac_ver.diff \
    41                         patch-libedit.diff
     41                        patch-libedit.diff \
     42                        patch-fwrapv.diff
    4243
    4344depends_lib             port:gettext port:zlib port:openssl \
  • trunk/dports/lang/python26/Portfile

    r86868 r87442  
    88# Remember to keep py26-tkinter's version sync'd with this
    99version                 2.6.7
    10 revision                2
     10revision                3
    1111set major               [lindex [split $version .] 0]
    1212set branch              [join [lrange [split ${version} .] 0 1] .]
     
    5656                        --enable-ipv6
    5757configure.ccache        no
     58
     59# signed integer overflow is normally undefined as per the C spec, but python
     60# needs it to be defined as twos-complement
     61configure.cflags-append -fwrapv
    5862
    5963post-patch {
  • trunk/dports/lang/python27/Portfile

    r86868 r87442  
    99# Remember to keep py27-tkinter's version sync'd with this
    1010version             2.7.2
    11 revision            2
     11revision            3
    1212
    1313set major           [lindex [split $version .] 0]
     
    6060
    6161configure.ccache    no
     62
     63# signed integer overflow is normally undefined as per the C spec, but python
     64# needs it to be defined as twos-complement
     65configure.cflags-append -fwrapv
    6266
    6367post-patch {
Note: See TracChangeset for help on using the changeset viewer.