Skip to content

Commit

Permalink
Mk/Uses/python.mk: Fix a typo
Browse files Browse the repository at this point in the history
PR:		271265
Reported by:	grahamperrin@freebsd.org
  • Loading branch information
wenheping committed May 8, 2023
1 parent 1af2c2c commit 9414f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mk/Uses/python.mk
Expand Up @@ -527,7 +527,7 @@ PYTHON_PORTSDIR= ${_PYTHON_RELPORTDIR}${PYTHON_SUFFIX}
.include "${PORTSDIR}/${PYTHON_PORTSDIR}/Makefile.version"
. endif
# Create a 5 integer version string, prefixing 0 to the minor and patch
# tokens if it's a single character. Only use the the first 3 tokens of
# tokens if it's a single character. Only use the first 3 tokens of
# PORTVERSION to support pre-release versions (rc3, alpha4, etc) of
# any Python port (lang/pythonXY)
PYTHON_REL= ${PYTHON_DISTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/:C/\.([0-9])$/.0\1/:C/\.([0-9]\.[0-9]+)/.0\1/:S/.//g}
Expand Down

0 comments on commit 9414f70

Please sign in to comment.