Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2026 03:24:08 +0000
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 93c37129829f - main - print/pdf-tools: Add pkgconf build dependency and fix configure env
Message-ID:  <69eed6d8.3b3c9.1eaaa3eb@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by jrm:

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

commit 93c37129829ff6d5da3fea99a5edb3b097449286
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2026-04-27 01:09:15 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2026-04-27 03:23:41 +0000

    print/pdf-tools: Add pkgconf build dependency and fix configure env
    
    The recent import of pkgconf into the FreeBSD base system temporarily
    caused a print/pdf-tools build failure and exposed two issues with the
    port.  First, pkgconf should be a direct build dependency.  Second,
    ${CONFIGURE_ENV} should be passed to ./configure so that
    PKG_CONFIG_LIBDIR is set correctly regardless of the pkgconf
    implementation in the environment.
    
    Sponsored by:   The FreeBSD Foundation
---
 print/pdf-tools/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/print/pdf-tools/Makefile b/print/pdf-tools/Makefile
index 4032d71ceb55..a6b3f0d61a4d 100644
--- a/print/pdf-tools/Makefile
+++ b/print/pdf-tools/Makefile
@@ -17,7 +17,8 @@ LIB_DEPENDS=	libpng16.so:graphics/png \
 		libpoppler.so:graphics/poppler
 RUN_DEPENDS=	tablist>=0.70:devel/tablist
 
-USES=		autoreconf:build emacs:build gettext-runtime gmake gnome magick:7,build,run
+USES=		autoreconf:build emacs:build gettext-runtime gmake gnome \
+		magick:7,build,run pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	vedang
 USE_GNOME=	cairo glib20
@@ -25,8 +26,9 @@ USE_GNOME=	cairo glib20
 CONFLICTS_INSTALL=	pdf-tools-emacs_*
 
 do-build:
-	cd ${WRKSRC}/server && ./autogen.sh && ./configure -q && make
-	 ${EMACS_CMD} -q --batch -f loaddefs-generate-batch \
+	cd ${WRKSRC}/server && ./autogen.sh && \
+		${CONFIGURE_ENV} ./configure -q && ${MAKE_CMD}
+	${EMACS_CMD} -q --batch -f loaddefs-generate-batch \
 		${WRKSRC}/lisp/${PORTNAME}-loaddefs.el ${WRKSRC}/lisp
 
 do-install:


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69eed6d8.3b3c9.1eaaa3eb>