git: 2020d4d00fff - main - print/pdf-tools: Fix build after editors/emacs update to 29.1

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Mon, 21 Aug 2023 02:03:28 UTC
The branch main has been updated by jrm:

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

commit 2020d4d00fff79b84b7238bc58d80be17efab731
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2023-08-21 01:59:21 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2023-08-21 01:59:21 +0000

    print/pdf-tools: Fix build after editors/emacs update to 29.1
    
    PR:             273249
    Reported by:    Robert Cina <transitive@gmail.com>
    Sponsored by:   The FreeBSD Foundation
---
 print/pdf-tools/Makefile | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/print/pdf-tools/Makefile b/print/pdf-tools/Makefile
index 04b4ec7166c4..a6c4ae05a28e 100644
--- a/print/pdf-tools/Makefile
+++ b/print/pdf-tools/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	pdf-tools
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print elisp
 PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}
 
@@ -34,16 +34,8 @@ do-build:
 	cd ${WRKSRC}/server && ./autogen.sh && ./configure -q && make
 	${EMACS_CMD} -q --batch -L ${WRKSRC}/lisp -f batch-byte-compile \
 		${WRKSRC}/lisp/*.el
-.if ${FLAVOR:U} == devel_full
 	 ${EMACS_CMD} -q --batch -f loaddefs-generate-batch \
 		${WRKSRC}/lisp/${PORTNAME}-loaddefs.el ${WRKSRC}/lisp
-.else
-	${EMACS_CMD} -q --batch \
-	--eval "(setq generated-autoload-file \
-		\"${WRKSRC}/lisp/${PORTNAME}-loaddefs.el\" \
-		backup-inhibited t)" \
-	-f batch-update-autoloads ${WRKSRC}/lisp
-.endif
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}