Lines 52-59
PLIST_SUB= ABI=${ABIFLAGS} \
Link Here
|
52 |
XYZDOT=${DISTVERSION:C/[a-z].*//} \ |
52 |
XYZDOT=${DISTVERSION:C/[a-z].*//} \ |
53 |
OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} # For plat-freebsd* in pkg-plist. https://bugs.python.org/issue19554 |
53 |
OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} # For plat-freebsd* in pkg-plist. https://bugs.python.org/issue19554 |
54 |
|
54 |
|
55 |
OPTIONS_DEFINE= DEBUG IPV6 LIBMPDEC NLS PYMALLOC |
55 |
OPTIONS_DEFINE= DEBUG IPV6 LIBMPDEC LTO NLS PYMALLOC |
56 |
OPTIONS_DEFAULT= LIBMPDEC PYMALLOC |
56 |
OPTIONS_DEFAULT= LIBMPDEC LTO PYMALLOC |
|
|
57 |
OPTIONS_EXCLUDE_powerpc64= LTO |
58 |
OPTIONS_EXCLUDE_riscv64= LTO |
57 |
OPTIONS_RADIO= HASH |
59 |
OPTIONS_RADIO= HASH |
58 |
OPTIONS_RADIO_HASH= FNV SIPHASH |
60 |
OPTIONS_RADIO_HASH= FNV SIPHASH |
59 |
OPTIONS_SUB= yes |
61 |
OPTIONS_SUB= yes |
Lines 75-80
IPV6_CONFIGURE_ENABLE= ipv6
Link Here
|
75 |
LIBMPDEC_CONFIGURE_ON= --with-system-libmpdec |
77 |
LIBMPDEC_CONFIGURE_ON= --with-system-libmpdec |
76 |
LIBMPDEC_LIB_DEPENDS= libmpdec.so:math/mpdecimal |
78 |
LIBMPDEC_LIB_DEPENDS= libmpdec.so:math/mpdecimal |
77 |
|
79 |
|
|
|
80 |
LTO_CONFIGURE_ON= --with-lto=thin |
81 |
|
78 |
# Use CPPFLAGS over CFLAGS due to -I ordering, causing elementtree and pyexpat |
82 |
# Use CPPFLAGS over CFLAGS due to -I ordering, causing elementtree and pyexpat |
79 |
# to break in Python 2.7, or preprocessor complaints in Python >= 3.3 |
83 |
# to break in Python 2.7, or preprocessor complaints in Python >= 3.3 |
80 |
# Upstream Issue: https://bugs.python.org/issue6299 |
84 |
# Upstream Issue: https://bugs.python.org/issue6299 |