Date: Fri, 25 Oct 2024 03:22:27 -0700 From: David Wolfskill <david@catwhisker.org> To: Robert Clausecker <fuz@fuz.su> Cc: current@freebsd.org, Benjamin Jacobs <freebsd@dev.thsi.be> Subject: Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+= Message-ID: <ZxtxY-BLzsRRpof8@albert.catwhisker.org> In-Reply-To: <ZxtGsD3myX75YVmX@fuz.su> References: <ZxqUjjK22lEkVfqf@albert.catwhisker.org> <ZxtGsD3myX75YVmX@fuz.su>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Fri, Oct 25, 2024 at 09:20:16AM +0200, Robert Clausecker wrote:
> Hi David,
> ...
> The same issue was reported in another thread. Try this workaround:
Aye; saw that, tried it, and it works for me (modulo MUA-mangling of
whitespace).
Here's a representation of what I used:
diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefile
index 6db21111f255..596cdb20d13b 100644
--- a/graphics/drm-61-kmod/Makefile
+++ b/graphics/drm-61-kmod/Makefile
@@ -49,6 +49,8 @@ PLIST_SUB+= I915="@comment "
MAKE_ENV+= MAKEOBJDIRPREFIX=${WRKSRC}/obj
+post-patch:
+ ${MKDIR} ${WRKSRC}/linuxkpi/dummy/include
pre-build:
${MKDIR} ${WRKSRC}/obj
(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj)
Thanks!
Peace,
david
--
David H. Wolfskill david@catwhisker.org
It has been said that history repeats itself. This is perhaps not quite
correct; it merely rhymes. -- Theodor Reik
See https://www.catwhisker.org/~david/publickey.gpg for my public key.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZxtxY18UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy
RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx
5WmwAQCpLryxWXvCRwG0tPlfYJYTf79udntfPw3rnKToBQyuFQEArjhMuCFdp75G
xPEg5RLsgDKAezF5rOmkJrav85xUTgg=
=i75t
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZxtxY-BLzsRRpof8>
