The following fixed the build for me - I'm assuming that BUILDLINK_X11_DIR exists in some build configs so the logic helps there
RCS file: /cvsroot/pkgsrc/fonts/fontconfig/Makefile,v
retrieving revision 1.142
diff -u -p -r1.142 Makefile
--- Makefile 14 Aug 2026 14:01:21 -0000 1.142
+++ Makefile 17 Aug 2026 10:35:28 -0000
@@ -104,8 +104,10 @@ CHECK_PORTABILITY_SKIP+= .gitlab-ci/fedo
TEST_TARGET= check
+.if exists(BUILDLINK_X11_DIR)
pre-configure:
cd ${BUILDLINK_X11_DIR} && ${FIND} . -path "*fontconfig*" -type l -delete
+.endif
post-install:
${INSTALL_DATA} ${FILESDIR}/30-pkgsrc-aliases.conf ${DESTDIR}${TMPLDIR}
On Monday, 17 August 2026 at 02:41, Paul Goyette <paul%whooppee.com@localhost> wrote:
I reverted adam's most recent change and it builds ok now
On Sun, 16 Aug 2026, Paul Goyette wrote:
...
===> Creating toolchain wrappers for fontconfig-2.18.3
===> Configuring for fontconfig-2.18.3
=> Generating pkg-config file for builtin expat package.
=> Substituting "prefix" in meson.build conf.d/meson.build conf.d/README.in
cd /tmp/pkgs/fonts/fontconfig/work/.x11-buildlink && /usr/bin/find . -path
"*fontconfig*" -type l -delete
cd: Can't cd to "/tmp/pkgs/fonts/fontconfig/work/.x11-buildlink": No such
file or directory
*** Error code 2
!DSPAM:6a82e869162652472235464!