Lines 50-61
Link Here
|
50 |
OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} # For plat-freebsd* in pkg-plist. https://bugs.python.org/issue19554 |
50 |
OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} # For plat-freebsd* in pkg-plist. https://bugs.python.org/issue19554 |
51 |
|
51 |
|
52 |
OPTIONS_DEFINE= DEBUG IPV6 LIBFFI NLS PYMALLOC |
52 |
OPTIONS_DEFINE= DEBUG IPV6 LIBFFI NLS PYMALLOC |
53 |
OPTIONS_DEFAULT= LIBFFI PYMALLOC |
53 |
OPTIONS_DEFINE= DEBUG IPV6 LIBFFI LIBMPDEC NLS PYMALLOC |
|
|
54 |
OPTIONS_DEFAULT= LIBFFI LIBMPDEC PYMALLOC |
54 |
OPTIONS_RADIO= HASH |
55 |
OPTIONS_RADIO= HASH |
55 |
OPTIONS_RADIO_HASH= FNV SIPHASH |
56 |
OPTIONS_RADIO_HASH= FNV SIPHASH |
56 |
OPTIONS_SUB= yes |
57 |
OPTIONS_SUB= yes |
57 |
|
58 |
|
58 |
LIBFFI_DESC= Use libffi from ports instead of bundled version |
59 |
LIBFFI_DESC= Use libffi from ports instead of bundled version |
|
|
60 |
LIBMPDEC_DESC= Use libmpdec from ports instead of bundled version |
59 |
NLS_DESC= Enable gettext support for the locale module |
61 |
NLS_DESC= Enable gettext support for the locale module |
60 |
PYMALLOC_DESC= Enable specialized mallocs |
62 |
PYMALLOC_DESC= Enable specialized mallocs |
61 |
|
63 |
|
Lines 72-77
Link Here
|
72 |
LIBFFI_CONFIGURE_ON= --with-system-ffi |
74 |
LIBFFI_CONFIGURE_ON= --with-system-ffi |
73 |
LIBFFI_LIB_DEPENDS= libffi.so:devel/libffi |
75 |
LIBFFI_LIB_DEPENDS= libffi.so:devel/libffi |
74 |
|
76 |
|
|
|
77 |
LIBMPDEC_CONFIGURE_ON= --with-system-libmpdec |
78 |
LIBMPDEC_LIB_DEPENDS= libmpdec.so:math/mpdecimal |
79 |
|
75 |
# Use CPPFLAGS over CFLAGS due to -I ordering, causing elementtree and pyexpat |
80 |
# Use CPPFLAGS over CFLAGS due to -I ordering, causing elementtree and pyexpat |
76 |
# to break in Python 2.7, or preprocessor complaints in Python >= 3.3 |
81 |
# to break in Python 2.7, or preprocessor complaints in Python >= 3.3 |
77 |
# Upstream Issue: https://bugs.python.org/issue6299 |
82 |
# Upstream Issue: https://bugs.python.org/issue6299 |