FreeBSD Bugzilla – Attachment 171923 Details for
Bug 208282
lang/python*: Packages fails on arm due to variable in _sysconfigdata.py
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
python arm fix
python_arm.diff (text/plain), 3.15 KB, created by
Emmanuel Vadot
on 2016-06-28 23:28:24 UTC
(
hide
)
Description:
python arm fix
Filename:
MIME Type:
Creator:
Emmanuel Vadot
Created:
2016-06-28 23:28:24 UTC
Size:
3.15 KB
patch
obsolete
>diff --git a/lang/python27/Makefile b/lang/python27/Makefile >index 2167013..0270ecf 100644 >--- a/lang/python27/Makefile >+++ b/lang/python27/Makefile >@@ -2,7 +2,7 @@ > > PORTNAME= python27 > PORTVERSION= ${PYTHON_PORTVERSION} >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= lang python ipv6 > MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} > DISTNAME= Python-${PORTVERSION} >@@ -127,5 +127,11 @@ post-patch: > post-install: > for i in ${STAGEDIR}${PREFIX}/lib/python2.7/lib-dynload/*.so; do \ > ${STRIP_CMD} $$i; done # Strip shared extensions >+.if ${CC} == /nxb-bin/usr/bin/cc >+ @${REINPLACE_CMD} -e 's=/nxb-bin==' \ >+ ${STAGEDIR}${PREFIX}/lib/python2.7/_sysconfigdata.py >+ @${REINPLACE_CMD} -e 's=/nxb-bin==' \ >+ ${STAGEDIR}${PREFIX}/lib/python2.7/config/Makefile >+.endif > > .include <bsd.port.mk> >diff --git a/lang/python33/Makefile b/lang/python33/Makefile >index ecd174e..c5b7278 100644 >--- a/lang/python33/Makefile >+++ b/lang/python33/Makefile >@@ -2,7 +2,7 @@ > > PORTNAME= python33 > PORTVERSION= ${PYTHON_PORTVERSION} >-PORTREVISION= 5 >+PORTREVISION= 6 > CATEGORIES= lang python ipv6 > MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} > DISTNAME= Python-${PORTVERSION} >@@ -119,5 +119,11 @@ post-install: > .endif > for i in ${STAGEDIR}${PREFIX}/lib/python3.3/lib-dynload/*.so; do \ > ${STRIP_CMD} $$i; done # Strip shared extensions >+.if ${CC} == /nxb-bin/usr/bin/cc >+ @${REINPLACE_CMD} -e 's=/nxb-bin==' \ >+ ${STAGEDIR}${PREFIX}/lib/python3.3./_sysconfigdata.py >+ @${REINPLACE_CMD} -e 's=/nxb-bin==' \ >+ ${STAGEDIR}${PREFIX}/lib/python3.3/config-3.3m/Makefile >+.endif > > .include <bsd.port.mk> >diff --git a/lang/python34/Makefile b/lang/python34/Makefile >index 1e02026..17ffa02 100644 >--- a/lang/python34/Makefile >+++ b/lang/python34/Makefile >@@ -3,7 +3,7 @@ > > PORTNAME= python34 > PORTVERSION= ${PYTHON_PORTVERSION} >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= lang python ipv6 > MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} > DISTNAME= Python-${PORTVERSION} >@@ -123,5 +123,11 @@ post-install: > .endif > for i in ${STAGEDIR}${PREFIX}/lib/python3.4/lib-dynload/*.so; do \ > ${STRIP_CMD} $$i; done # Strip shared extensions >+.if ${CC} == /nxb-bin/usr/bin/cc >+ @${REINPLACE_CMD} -e 's=/nxb-bin==' \ >+ ${STAGEDIR}${PREFIX}/lib/python3.4./_sysconfigdata.py >+ @${REINPLACE_CMD} -e 's=/nxb-bin==' \ >+ ${STAGEDIR}${PREFIX}/lib/python3.4/config-3.4m/Makefile >+.endif > > .include <bsd.port.mk> >diff --git a/lang/python35/Makefile b/lang/python35/Makefile >index 63f16bb..eccc4b7 100644 >--- a/lang/python35/Makefile >+++ b/lang/python35/Makefile >@@ -3,7 +3,7 @@ > > PORTNAME= python > DISTVERSION= ${PYTHON_PORTVERSION} >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= lang python ipv6 > MASTER_SITES= PYTHON/ftp/python/${PYTHON_PORTVERSION} > PKGNAMESUFFIX= ${PYTHON_SUFFIX} >@@ -130,5 +130,11 @@ post-install: > .endif > for i in ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/lib-dynload/*.so; do \ > ${STRIP_CMD} $$i; done # Strip shared extensions >+.if ${CC} == /nxb-bin/usr/bin/cc >+ @${REINPLACE_CMD} -e 's=/nxb-bin==' \ >+ ${STAGEDIR}${PREFIX}/lib/python3.5./_sysconfigdata.py >+ @${REINPLACE_CMD} -e 's=/nxb-bin==' \ >+ ${STAGEDIR}${PREFIX}/lib/python3.5/config-3.5m/Makefile >+.endif > > .include <bsd.port.mk>
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 208282
:
168607
|
170050
| 171923