Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2021 01:06:52 GMT
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5693283b37e1 - main - lang/python-doc-html: Unbreak makesum
Message-ID:  <202105120106.14C16qdF054227@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dbaio:

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

commit 5693283b37e182d63579863491412355997533f9
Author:     Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2021-05-12 00:14:40 +0000
Commit:     Danilo G. Baio <dbaio@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105120106.14C16qdF054227>