git: 40912192439c - main - graphics/pstoedit: Fix build on non clean environment

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Mon, 07 Aug 2023 07:05:12 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=40912192439c509c19362b36e6a34b6cf999d3b5

commit 40912192439c509c19362b36e6a34b6cf999d3b5
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-08-07 06:58:35 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-08-07 07:04:57 +0000

    graphics/pstoedit: Fix build on non clean environment
    
    Force --enable-docs=no to fix build when latex2man and pdflatex are present.
    
    MFH:            2023Q3
    Reported by:    Robert English
---
 graphics/pstoedit/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/pstoedit/Makefile b/graphics/pstoedit/Makefile
index 3d8e27ed3953..62c4af1216ad 100644
--- a/graphics/pstoedit/Makefile
+++ b/graphics/pstoedit/Makefile
@@ -16,8 +16,8 @@ LIB_DEPENDS=	libgd.so:graphics/gd \
 USES=		ghostscript gmake libtool localbase pathfix pkgconfig
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--enable-docs=no
 MAKE_ENV=	INSTALL_STRIP_FLAG="${STRIP}"
-
 CPPFLAGS+=	-isystem ${LOCALBASE}/include/ming
 
 PORTDOCS=	*