FreeBSD Bugzilla – Attachment 183884 Details for
Bug 220333
[PATCH] lang/python33: "cc: error: unsupported option '-print-multi-os-directory'"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix "cc: error: unsupported option '-print-multi-os-directory'"
python33.patch (text/plain), 790 bytes, created by
Ivan Rozhuk
on 2017-06-28 12:24:07 UTC
(
hide
)
Description:
fix "cc: error: unsupported option '-print-multi-os-directory'"
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2017-06-28 12:24:07 UTC
Size:
790 bytes
patch
obsolete
>Index: lang/python33/Makefile >=================================================================== >--- lang/python33/Makefile (revision 444559) >+++ lang/python33/Makefile (working copy) >@@ -121,6 +121,14 @@ > @${REINPLACE_CMD} -e 's/disabled_module_list =[^]]*/&, "nis"/' \ > ${WRKSRC}/setup.py > .endif >+.if ${CC} != "gcc" >+ @${REINPLACE_CMD} -e 's|-print-multi-os-directory|-print-search-dirs|g' \ >+ -e 's|`$$ECHO "$$lt_search_path_spec" \| $$lt_NL2SP`|"/lib /usr/lib /usr/local/lib"|g' \ >+ -e 's|toolexeclibdir=$$toolexeclibdir/$$multi_os_directory|toolexeclibdir="$${libdir}"|g' \ >+ ${WRKSRC}/Modules/_ctypes/libffi/configure \ >+ ${WRKSRC}/Modules/_ctypes/libffi/configure.ac \ >+ ${WRKSRC}/Modules/_ctypes/libffi/m4/libtool.m4 >+.endif > > 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 220333
: 183884