git: 9b53a684517b - main - misc/magicpoint: remove dependency on freetype1 (was off by default)

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 08 Jun 2022 09:56:43 UTC
The branch main has been updated by bapt:

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

commit 9b53a684517b9527a537f9694dddb6e09c0f8830
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-06-08 09:50:46 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-06-08 09:56:28 +0000

    misc/magicpoint: remove dependency on freetype1 (was off by default)
---
 misc/magicpoint/Makefile | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/misc/magicpoint/Makefile b/misc/magicpoint/Makefile
index 35a6c56abd0c..1b054748866b 100644
--- a/misc/magicpoint/Makefile
+++ b/misc/magicpoint/Makefile
@@ -21,7 +21,7 @@ USES=		imake:env perl5 pkgconfig xorg
 USE_PERL5=	run
 USE_XORG=	x11 xext xmu xt sm ice xi xtst
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-vflib --enable-locale
+CONFIGURE_ARGS=	--disable-vflib --enable-locale --disable-freetype
 CONFIGURE_ENV=	mgp_cv_path_perl=${PERL}
 CPPFLAGS+=	-I..
 LATE_INSTALL_ARGS=	install.man
@@ -41,14 +41,10 @@ EMACS_LISPS=	mgp-mode.el
 EMACS_LISPS_MGP=COPYING README mgp.el mgp.sty sample.tex
 SAMPLE_SCRIPTS=	eqn2eps.sh tex2eps.sh mgp2html.pl mgp2latex.pl
 
-OPTIONS_DEFINE=	FREETYPE XFT GIF DOCS
+OPTIONS_DEFINE=	XFT GIF DOCS
 OPTIONS_DEFAULT=XFT GIF
 NO_OPTIONS_SORT=yes
 
-FREETYPE_PREVENTS=	XFT
-FREETYPE_CONFIGURE_ENABLE=	freetype
-FREETYPE_LIB_DEPENDS=	libttf.so:print/freetype
-XFT_PREVENTS=	FREETYPE
 XFT_USES=	iconv
 XFT_USE=	XORG=xft
 XFT_CONFIGURE_ENABLE=	xft2
@@ -67,8 +63,6 @@ post-configure:
 		${SETENV} ${MAKE_ENV} ${XMKMF} ${XMKMF_ARGS}
 	cd ${WRKSRC}/contrib/xmindpath && \
 		${SH} ${CONFIGURE_SCRIPT} --prefix=${PREFIX}
-	${REINPLACE_CMD} -e 's|freetype1/freetype|freetype1|g' \
-		${WRKSRC}/Makefile ${WRKSRC}/image/Makefile
 
 post-build:
 	cd ${WRKSRC}/contrib/xmindpath && \