Skip to content

Commit

Permalink
graphics/gdchart: Fix breakage
Browse files Browse the repository at this point in the history
Looks like I made a grave mistake on my previous commit.

Fixes:	21b9bb4 graphics/gdchart: Fix build on 14
  • Loading branch information
5u623l20 committed Jun 7, 2023
1 parent 7be12eb commit 965909f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions graphics/gdchart/Makefile
Expand Up @@ -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/' \
Expand Down

0 comments on commit 965909f

Please sign in to comment.