Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= python |
3 |
PORTNAME= python |
4 |
DISTVERSION= ${PYTHON_DISTVERSION} |
4 |
DISTVERSION= ${PYTHON_DISTVERSION} |
5 |
PORTREVISION= 1 |
5 |
PORTREVISION= 2 |
6 |
CATEGORIES= lang python |
6 |
CATEGORIES= lang python |
7 |
MASTER_SITES= PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//} |
7 |
MASTER_SITES= PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//} |
8 |
PKGNAMESUFFIX= ${PYTHON_SUFFIX} |
8 |
PKGNAMESUFFIX= ${PYTHON_SUFFIX} |
Lines 127-134
post-patch:
Link Here
|
127 |
@${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py |
127 |
@${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py |
128 |
# disable detection of multiarch as it breaks with clang >= 13, which adds a |
128 |
# disable detection of multiarch as it breaks with clang >= 13, which adds a |
129 |
# major.minor version number in -print-multiarch output, confusing Python |
129 |
# major.minor version number in -print-multiarch output, confusing Python |
130 |
@${REINPLACE_CMD} -e 's|^MULTIARCH=.*|MULTIARCH=|' ${WRKSRC}/configure \ |
130 |
@${REINPLACE_CMD} -e 's|^\( *MULTIARCH=\).*--print-multiarch.*|\1|' ${WRKSRC}/configure |
131 |
${WRKSRC}/configure.ac |
|
|
132 |
# Apply DISABLED_EXTENSIONS |
131 |
# Apply DISABLED_EXTENSIONS |
133 |
@${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local |
132 |
@${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local |
134 |
. for _module in ${DISABLED_EXTENSIONS} |
133 |
. for _module in ${DISABLED_EXTENSIONS} |