From nobody Fri Oct 25 10:22:27 2024 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XZf3w5S7Mz5bWd9 for ; Fri, 25 Oct 2024 10:22:36 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZf3w0l3tz58Y7 for ; Fri, 25 Oct 2024 10:22:35 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 49PAMRSG085803; Fri, 25 Oct 2024 10:22:27 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 49PAMRM7085802; Fri, 25 Oct 2024 03:22:27 -0700 (PDT) (envelope-from david) Date: Fri, 25 Oct 2024 03:22:27 -0700 From: David Wolfskill To: Robert Clausecker Cc: current@freebsd.org, Benjamin Jacobs Subject: Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+= Message-ID: Mail-Followup-To: David Wolfskill , Robert Clausecker , current@freebsd.org, Benjamin Jacobs References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KbiB9nvhEhV/iQaf" Content-Disposition: inline In-Reply-To: X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US] X-Rspamd-Queue-Id: 4XZf3w0l3tz58Y7 X-Spamd-Bar: ---- --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--