git: 5693283b37e1 - main - lang/python-doc-html: Unbreak makesum

Danilo G. Baio dbaio at FreeBSD.org
Wed May 12 01:06:52 UTC 2021


The branch main has been updated by dbaio:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5693283b37e182d63579863491412355997533f9

commit 5693283b37e182d63579863491412355997533f9
Author:     Danilo G. Baio <dbaio at FreeBSD.org>
AuthorDate: 2021-05-12 00:14:40 +0000
Commit:     Danilo G. Baio <dbaio at FreeBSD.org>
CommitDate: 2021-05-12 01:01:20 +0000

    lang/python-doc-html: Unbreak makesum
    
    Change make command to fix Python 2.7 values. [1]
    
    PR:             255767 [1]
    Reported by:    Yasuhiro Kimura <yasu at utahime.org> [1]
    Approved by:    python (with hat)
    Differential Revision:  https://reviews.freebsd.org/D30192
---
 lang/python-doc-html/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lang/python-doc-html/Makefile b/lang/python-doc-html/Makefile
index 48c696c08995..6b0e9d5fadc5 100644
--- a/lang/python-doc-html/Makefile
+++ b/lang/python-doc-html/Makefile
@@ -3,7 +3,7 @@
 PORTNAME=	python-doc-${DOCFORMAT}
 PORTVERSION=	${PYTHON_PORTVERSION}
 CATEGORIES=	lang python
-MASTER_SITES=	PYTHON/ftp/python/doc/${PORTVERSION} \
+MASTER_SITES?=	PYTHON/ftp/python/doc/${PORTVERSION} \
 		PYTHON/ftp/python/doc/current
 DISTNAME=	python-${PORTVERSION}-docs-${DOCFORMAT}
 DIST_SUBDIR=	python
@@ -38,7 +38,7 @@ _VERS!=		${MAKE} -V _PYTHON_VERSIONS:O
 
 all_python_versions:
 .for v in ${_VERS}
-	@${MAKE} -V PYTHON_PORTVERSION DEFAULT_VERSIONS=python=${v}
+	@${MAKE} -C ${PORTSDIR}/lang/python${v:S/.//} -V PYTHON_PORTVERSION
 .endfor
 
 .if make(makesum)
@@ -54,6 +54,7 @@ DISTFILES+=	python-${v}-docs-${f}${EXTRACT_SUFX}:${v:S/./x/g},DEFAULT
 .endfor
 .endfor
 MASTER_SITES+=	PYTHON/ftp/python/doc/current
+.export MASTER_SITES
 .endif
 
 pre-install:


More information about the dev-commits-ports-all mailing list