git: c87b0b2ffd33 - main - www/nghttp2: Simplify 143fa66a1a58f7c673e217c53dd5807075b72240

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 18 Jun 2024 04:07:38 UTC
The branch main has been updated by sunpoet:

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

commit c87b0b2ffd33a9421bd6910521384299295e6d5f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-18 03:59:28 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-18 03:59:28 +0000

    www/nghttp2: Simplify 143fa66a1a58f7c673e217c53dd5807075b72240
    
    - Fix indent
---
 www/nghttp2/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile
index 54f0a124df23..440601480831 100644
--- a/www/nghttp2/Makefile
+++ b/www/nghttp2/Makefile
@@ -45,12 +45,12 @@ HPACK_LIB_DEPENDS=	libjansson.so:devel/jansson
 
 .include <bsd.port.options.mk>
 
-.if ${OPSYS}_${OSREL:C/\\./-/} == FreeBSD_13-2
-USES+=	llvm
+.if ${OSREL} == 13.2
+USES+=		llvm
 EXTRA_PATCHES=	${PATCHDIR}/extra-patch-compatibility-fix
 .endif
 
-.if ${OPSYS}_${OSREL:C/\\./-/} == FreeBSD_14-0
+.if ${OSREL} == 14.0
 EXTRA_PATCHES=	${PATCHDIR}/extra-patch-compatibility-fix
 .endif