git: 93ff2ebe0ae2 - main - www/unit: Remove OSVERSION conditionals

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 28 Sep 2023 18:56:45 UTC
The branch main has been updated by bofh:

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

commit 93ff2ebe0ae29345896441e0d2e114945768ac28
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-28 18:54:43 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-28 18:56:26 +0000

    www/unit: Remove OSVERSION conditionals
    
    Minimum supported OSVERSION is 120400 by the port infrastructure so no
    need for additional conditions.
    
    Approved by:    portmgr (blanket)
---
 www/unit/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/www/unit/Makefile b/www/unit/Makefile
index aa8551cce3a6..58fb92677c01 100644
--- a/www/unit/Makefile
+++ b/www/unit/Makefile
@@ -120,10 +120,8 @@ CONFIGURE_ARGS+=--control=unix:${UNIT_SOCK}
 
 .if defined(UNIT_MODNAME) && ${UNIT_MODNAME:Mperl*}
 # Fix build failure on clang >= 12
-.if ${OSVERSION} >= 1204000
 CFLAGS+=	-Wno-compound-token-split-by-macro
 .endif
-.endif
 
 .if !target(post-install)
 post-install: