FreeBSD Bugzilla – Attachment 183886 Details for
Bug 220335
[PATCH] lang/python35: "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'"
python35.patch (text/plain), 790 bytes, created by
Ivan Rozhuk
on 2017-06-28 12:40:07 UTC
(
hide
)
Description:
fix "cc: error: unsupported option '-print-multi-os-directory'"
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2017-06-28 12:40:07 UTC
Size:
790 bytes
patch
obsolete
>Index: lang/python35/Makefile >=================================================================== >--- lang/python35/Makefile (revision 444559) >+++ lang/python35/Makefile (working copy) >@@ -136,6 +136,14 @@ > .endif > ${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \ > ${WRKSRC}/Lib/cgi.py >+.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 220335
: 183886