[Bug 263483] [PATCH] Mk/bsd.java.mk: Fix JAVA_VERSION matching

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 01 May 2022 06:57:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263483

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=90de298b222ab8b74c707c26af21d59547898ab5

commit 90de298b222ab8b74c707c26af21d59547898ab5
Author:     Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2022-05-01 06:53:06 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2022-05-01 06:55:55 +0000

    Mk/bsd.java.mk:  Fix JAVA_VERSION matching

    Anchor the matched patterns to be at the beginning of each word to
    prevent unexpected surprises

    e.g. with JAVA_VERSION= 17+ it results in _JAVA_VERSION set to
    unexpected "17 8 11 12 13 14 15 16 17 18", instead of "17 18"

    PR:             263483
    Reported by:    jrm
    Reviewed by:    glewis
    Approved by:    glewis

 Mk/bsd.java.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.