Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+=
- Reply: Oleg Lelchuk : "Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+="
- Reply: David Wolfskill : "Resolved (was: Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+=)"
- In reply to: Robert Clausecker : "Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+="
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Oct 2024 10:22:27 UTC
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.