View | Details | Raw Unified | Return to bug 258377
Collapse All | Expand All

(-)b/lang/python310/Makefile (+4 lines)
Lines 124-129 post-patch: Link Here
124
# which introduces hidden dependency and breaks build
124
# which introduces hidden dependency and breaks build
125
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
125
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
126
	@${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
126
	@${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
127
# disable detection of multiarch as it breaks with clang >= 13, which adds a
128
# major.minor version number in -print-multiarch output, confusing Python
129
	@${REINPLACE_CMD} -e 's|^MULTIARCH=.*|MULTIARCH=|' ${WRKSRC}/configure \
130
		${WRKSRC}/configure.ac
127
# Apply DISABLED_EXTENSIONS
131
# Apply DISABLED_EXTENSIONS
128
	@${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local
132
	@${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local
129
.  for _module in ${DISABLED_EXTENSIONS}
133
.  for _module in ${DISABLED_EXTENSIONS}
(-)b/lang/python36/Makefile (+6 lines)
Lines 121-126 DISABLED_EXTENSIONS+= nis Link Here
121
PLIST_SUB+=	NO_NIS=""
121
PLIST_SUB+=	NO_NIS=""
122
.endif
122
.endif
123
123
124
post-patch:
125
# disable detection of multiarch as it breaks with clang >= 13, which adds a
126
# major.minor version number in -print-multiarch output, confusing Python
127
	@${REINPLACE_CMD} -e 's|^MULTIARCH=.*|MULTIARCH=|' ${WRKSRC}/configure \
128
		${WRKSRC}/configure.ac
129
124
post-install:
130
post-install:
125
.if ! ${PORT_OPTIONS:MDEBUG}
131
.if ! ${PORT_OPTIONS:MDEBUG}
126
	${RM} ${STAGEDIR}${PREFIX}/lib/libpython3.so						# Upstream Issue: https://bugs.python.org/issue17975
132
	${RM} ${STAGEDIR}${PREFIX}/lib/libpython3.so						# Upstream Issue: https://bugs.python.org/issue17975
(-)b/lang/python37/Makefile (+4 lines)
Lines 111-116 post-patch: Link Here
111
# which introduces hidden dependency and breaks build
111
# which introduces hidden dependency and breaks build
112
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
112
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
113
	@${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
113
	@${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
114
# disable detection of multiarch as it breaks with clang >= 13, which adds a
115
# major.minor version number in -print-multiarch output, confusing Python
116
	@${REINPLACE_CMD} -e 's|^MULTIARCH=.*|MULTIARCH=|' ${WRKSRC}/configure \
117
		${WRKSRC}/configure.ac
114
# Apply DISABLED_EXTENSIONS
118
# Apply DISABLED_EXTENSIONS
115
	@${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local
119
	@${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local
116
.  for _module in ${DISABLED_EXTENSIONS}
120
.  for _module in ${DISABLED_EXTENSIONS}
(-)b/lang/python38/Makefile (+4 lines)
Lines 115-120 post-patch: Link Here
115
# which introduces hidden dependency and breaks build
115
# which introduces hidden dependency and breaks build
116
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
116
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
117
	@${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
117
	@${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
118
# disable detection of multiarch as it breaks with clang >= 13, which adds a
119
# major.minor version number in -print-multiarch output, confusing Python
120
	@${REINPLACE_CMD} -e 's|^MULTIARCH=.*|MULTIARCH=|' ${WRKSRC}/configure \
121
		${WRKSRC}/configure.ac
118
# Apply DISABLED_EXTENSIONS
122
# Apply DISABLED_EXTENSIONS
119
	@${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local
123
	@${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local
120
.  for _module in ${DISABLED_EXTENSIONS}
124
.  for _module in ${DISABLED_EXTENSIONS}
(-)b/lang/python39/Makefile (+4 lines)
Lines 116-121 post-patch: Link Here
116
# which introduces hidden dependency and breaks build
116
# which introduces hidden dependency and breaks build
117
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
117
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
118
	@${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
118
	@${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
119
# disable detection of multiarch as it breaks with clang >= 13, which adds a
120
# major.minor version number in -print-multiarch output, confusing Python
121
	@${REINPLACE_CMD} -e 's|^MULTIARCH=.*|MULTIARCH=|' ${WRKSRC}/configure \
122
		${WRKSRC}/configure.ac
119
# Apply DISABLED_EXTENSIONS
123
# Apply DISABLED_EXTENSIONS
120
	@${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local
124
	@${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local
121
.  for _module in ${DISABLED_EXTENSIONS}
125
.  for _module in ${DISABLED_EXTENSIONS}

Return to bug 258377