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