git: 235149a1bc73 - 2023Q3 - graphics/pstoedit: Fix build on non clean environment

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Mon, 07 Aug 2023 08:04:18 UTC
The branch 2023Q3 has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=235149a1bc73035f0550a882fff7481ab32dbf3d

commit 235149a1bc73035f0550a882fff7481ab32dbf3d
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:06:18 +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
    
    (cherry picked from commit 40912192439c509c19362b36e6a34b6cf999d3b5)
---
 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=	*