Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2023 18:56:45 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 93ff2ebe0ae2 - main - www/unit: Remove OSVERSION conditionals
Message-ID:  <202309281856.38SIuj39022633@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



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