FreeBSD Bugzilla – Attachment 226637 Details for
Bug 257362
lang/python3: Add link for python3-embed.pc where applicable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to add symlink for newer versions of python
python3-embed.diff (text/plain), 1.10 KB, created by
Steve Wills
on 2021-07-23 18:58:29 UTC
(
hide
)
Description:
patch to add symlink for newer versions of python
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2021-07-23 18:58:29 UTC
Size:
1.10 KB
patch
obsolete
>diff --git lang/python3/Makefile lang/python3/Makefile >index b371a0f3be83..9590ee318d2d 100644 >--- lang/python3/Makefile >+++ lang/python3/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= python3 > PORTVERSION= ${PYTHON_MAJOR_VER} >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= lang python > MASTER_SITES= > DISTFILES= >@@ -21,6 +21,12 @@ PLIST_FILES= bin/2to3-${PYTHON_MAJOR_VER} \ > bin/python${PYTHON_MAJOR_VER}-config \ > libdata/pkgconfig/python${PYTHON_MAJOR_VER}.pc > >+.include <bsd.port.pre.mk> >+ >+.if ${PYTHON_VER:S/.//g} >= 38 >+PLIST_FILES+= libdata/pkgconfig/python${PYTHON_MAJOR_VER}-embed.pc >+.endif >+ > do-install: > ${LN} -sf python${PYTHON_VER} \ > ${STAGEDIR}${PREFIX}/bin/python${PYTHON_MAJOR_VER} >@@ -34,5 +40,10 @@ do-install: > ${STAGEDIR}${PREFIX}/bin/python${PYTHON_MAJOR_VER}-config > ${LN} -sf python-${PYTHON_VER}.pc \ > ${STAGEDIR}${PREFIX}/libdata/pkgconfig/python${PYTHON_MAJOR_VER}.pc >+.if ${PYTHON_VER:S/.//g} >= 38 >+ echo ${PS} >+ ${LN} -sf python-${PYTHON_VER}-embed.pc \ >+ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/python${PYTHON_MAJOR_VER}-embed.pc >+.endif > >-.include <bsd.port.mk> >+.include <bsd.port.post.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 257362
:
226637
|
226675