git: efbf64ff8c34 - main - textproc/linuxdoc-tools: Fix build with DOCS

From: Felix Palmen <zirias_at_FreeBSD.org>
Date: Wed, 21 Dec 2022 16:09:53 UTC
The branch main has been updated by zirias:

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

commit efbf64ff8c34dd09e3781b6f80df8e7b5d9950e6
Author:     Felix Palmen <zirias@FreeBSD.org>
AuthorDate: 2022-12-21 09:31:04 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2022-12-21 16:08:50 +0000

    textproc/linuxdoc-tools: Fix build with DOCS
    
    DOCS_USES was declared twice after update for the USES=tex change.
    While here, sort DOCS_USE.
    
    Approved by:    tcberner (mentor, implicit)
---
 textproc/linuxdoc-tools/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/textproc/linuxdoc-tools/Makefile b/textproc/linuxdoc-tools/Makefile
index 8f6ec6451242..dabc8bc4e5bc 100644
--- a/textproc/linuxdoc-tools/Makefile
+++ b/textproc/linuxdoc-tools/Makefile
@@ -31,9 +31,8 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 OPTIONS_DEFINE=	DOCS
 
 DOCS_BUILD_DEPENDS=	bash:shells/bash
-DOCS_USES=		tex
-DOCS_USE=		TEX=latex:build,pdftex:build,dvipsk:build
-DOCS_USES=		makeinfo
+DOCS_USES=		makeinfo tex
+DOCS_USE=		TEX=dvipsk:build,latex:build,pdftex:build
 DOCS_CONFIGURE_ENABLE=	docs
 
 .include <bsd.port.mk>