Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--KbiB9nvhEhV/iQaf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 25, 2024 at 09:20:16AM +0200, Robert Clausecker wrote:
> Hi David,
> ...=20
> 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+=3D	I915=3D"@comment "
=20
 MAKE_ENV+=3D	MAKEOBJDIRPREFIX=3D${WRKSRC}/obj
=20
+post-patch:
+		${MKDIR} ${WRKSRC}/linuxkpi/dummy/include
 pre-build:
 		${MKDIR} ${WRKSRC}/obj
 		(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj)



Thanks!

Peace,
david
--=20
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.

--KbiB9nvhEhV/iQaf
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZxtxY18UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy
RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx
5WmwAQCpLryxWXvCRwG0tPlfYJYTf79udntfPw3rnKToBQyuFQEArjhMuCFdp75G
xPEg5RLsgDKAezF5rOmkJrav85xUTgg=
=i75t
-----END PGP SIGNATURE-----

--KbiB9nvhEhV/iQaf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZxtxY-BLzsRRpof8>