FreeBSD Bugzilla – Attachment 211421 Details for
Bug 243937
lang/python38: Fails to package in certain conditions due to DISABLED_EXTENSIONS not working
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[patch] fix broken disable modules (v1)
pr-python38-fix-broken-disable-modules.diff.v1 (text/plain), 995 bytes, created by
John Hein
on 2020-02-06 19:29:51 UTC
(
hide
)
Description:
[patch] fix broken disable modules (v1)
Filename:
MIME Type:
Creator:
John Hein
Created:
2020-02-06 19:29:51 UTC
Size:
995 bytes
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 525152) >+++ Makefile (working copy) >@@ -29,9 +29,8 @@ > PYTHON_VERSION= python${PYTHON_VER} > PYTHON_SUFFIX= ${PYTHON_VER:S/.//g} > >-DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm > CONFIGURE_ARGS+= --enable-shared --without-ensurepip >-CONFIGURE_ENV+= OPT="" DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS}" # Null out OPT to respect user CFLAGS and remove optimizations >+CONFIGURE_ENV+= OPT="" # Null out OPT to respect user CFLAGS and remove optimizations > > INSTALL_TARGET= altinstall # Don't want cloberring of unprefixed files > >@@ -119,6 +118,7 @@ > # which introduces hidden dependency and breaks build > @${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure > @${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py >+ printf '*disabled*\n_sqlite3 _tkinter _gdbm\n' > ${WRKSRC}/Modules/Setup.local > > post-install: > .if ! ${PORT_OPTIONS:MDEBUG}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243937
:
211420
|
211421
|
211437
|
225585
|
225650