git: 965909fea08b - main - graphics/gdchart: Fix breakage

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

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

commit 965909fea08bb647f281e2b20ffedb9bcd8a7081
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-07 07:31:50 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-07 07:31:50 +0000

    graphics/gdchart: Fix breakage
    
    Looks like I made a grave mistake on my previous commit.
    
    Fixes:  21b9bb4 graphics/gdchart: Fix build on 14
---
 graphics/gdchart/Makefile | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile
index 6259dce7cfb6..840961217d2d 100644
--- a/graphics/gdchart/Makefile
+++ b/graphics/gdchart/Makefile
@@ -19,17 +19,19 @@ USE_LDCONFIG=	yes
 MAKEFILE=	${FILESDIR}/Makefile
 MAKE_ARGS=	PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}"
 
+PORTDOCS=	README.txt
+PORTEXAMPLES=	ft_samp.c gdc_pie_samp.c gdc_samp1.c gdc_samp2.c
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+.include <bsd.port.options.mk>
+
 .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:
 	@${REINPLACE_CMD} \
 		-e 's/^#ifdef HAVE_JPEG/#ifndef NO_JPEG/' \