From d65f7da601ac89698b5544496c321bad0103ab4c Mon Sep 17 00:00:00 2001 From: Yasuhiro Kimura Date: Thu, 26 Aug 2021 03:14:11 +0900 Subject: [PATCH] graphics/cairo: Fix build with upcoming autoconf 2.71 While here, remove post-patch-DOCS-off target and most of oparations in post-patch target. They edit files such as configure and Makefile.in. But the result is overwrote when autoreconf is invoked at configure phase. So if this port works fine now, we can safely remove them. --- graphics/cairo/Makefile | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile index 1bc9dc1fe9a1..b02441590849 100644 --- a/graphics/cairo/Makefile +++ b/graphics/cairo/Makefile @@ -53,6 +53,8 @@ OPENGL_USES= gl OPENGL_USE= gl=egl OPENGL_CONFIGURE_ENABLE=gl egl +DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc + GLESV2_USES= gl GLESV2_USE= gl=glesv2 GLESV2_DESC= Enable GLESv2 rendering @@ -76,21 +78,7 @@ MIPS_CONFIGURE_ENV= cairo_cv_atomic_primitives="libatomic-ops" PLIST_SUB+= LIBVER=2.11704.0 post-patch: - @${REINPLACE_CMD} -e '/strings/s/ - / -a /' \ - -e '/test/s/==/=/g' \ - -e '/LIBS/s/-lrt//' -e '/LIBS/s|-ldld||' \ - -e '/LIBS/s|-ldl||' \ - ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-lcairo|-lcairo -lpthread|' \ ${WRKSRC}/src/*.pc.in - @${REINPLACE_CMD} -e '/@CAIRO_HAS_PNG_FUNCTIONS_TRUE@.*=/d' \ - ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's|-ldl||g' \ - ${WRKSRC}/util/*/Makefile.in \ - ${WRKSRC}/boilerplate/Makefile.in - -post-patch-DOCS-off: - @${REINPLACE_CMD} -e 's|public||g' \ - ${WRKSRC}/doc/Makefile.in .include -- 2.36.0