git: 21b9bb46c0c0 - main - graphics/gdchart: Fix build on 14

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 07 Jun 2023 07:25:17 UTC
The branch main has been updated by bofh:

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

commit 21b9bb46c0c099e008dfb1f8eca5effaf6a258ee
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-07 05:39:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-07 07:25:08 +0000

    graphics/gdchart: Fix build on 14
    
    - Pet portclippy
    - Adopt port
---
 graphics/gdchart/Makefile | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile
index f907c6f8356d..6259dce7cfb6 100644
--- a/graphics/gdchart/Makefile
+++ b/graphics/gdchart/Makefile
@@ -6,7 +6,7 @@ MASTER_SITES=	http://www.fred.net/brv/chart/ \
 		ftp://ftp.nuug.no/pub/anders/distfiles/
 DISTNAME=	${PORTNAME}${PORTVERSION}dev
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Easy to use fast C API for creating charts and graphs
 WWW=		http://www.fred.net/brv/chart/
 
@@ -14,19 +14,20 @@ LIB_DEPENDS=	libgd.so:graphics/gd \
 		libfreetype.so:print/freetype2
 
 USES=		jpeg uidfix
-MAKEFILE=	${FILESDIR}/Makefile
-MAKE_ARGS=	PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}"
 USE_LDCONFIG=	yes
 
-PORTDOCS=	README.txt
-PORTEXAMPLES=	ft_samp.c gdc_pie_samp.c gdc_samp1.c gdc_samp2.c
+MAKEFILE=	${FILESDIR}/Makefile
+MAKE_ARGS=	PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}"
 
-.if defined(NO_PROFILE)
+.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
 PLIST_SUB+=	PROFILE="@comment "
 .else
 PLIST_SUB+=	PROFILE=""
 .endif
 
+PORTDOCS=	README.txt
+PORTEXAMPLES=	ft_samp.c gdc_pie_samp.c gdc_samp1.c gdc_samp2.c
+
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-patch: