git: f8554250f593 - main - irc/undernet-ircu: Unbreak on 14

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 10 Jun 2023 17:14:18 UTC
The branch main has been updated by bofh:

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

commit f8554250f5932e6f5d03ed4dddad948b91c6eda3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-10 13:19:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-10 17:14:07 +0000

    irc/undernet-ircu: Unbreak on 14
    
    Approved by:    portmgr (blanket)
---
 irc/undernet-ircu/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/irc/undernet-ircu/Makefile b/irc/undernet-ircu/Makefile
index 2fa75f5d2317..633336393021 100644
--- a/irc/undernet-ircu/Makefile
+++ b/irc/undernet-ircu/Makefile
@@ -61,7 +61,9 @@ PEDANTIC_CONFIGURE_ENABLE=	pedantic
 POLL_CONFIGURE_ENABLE=		poll
 WARNINGS_CONFIGURE_ENABLE=	warnings
 
-.if !defined(NO_PROFILE)
+.include <bsd.port.options.mk>
+
+.if !defined(NO_PROFILE) && ( ${OPSYS} == FreeBSD && ${OSVERSION} < 1400079 )
 CONFIGURE_ARGS+=	--enable-profile
 .endif