Page MenuHomeFreeBSD

graphics/mesa: Fix pr247138, detect sys/sysctl.h and fix sed
ClosedPublic

Authored by zeising on Jun 14 2020, 8:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 21, 5:19 PM
Unknown Object (File)
Tue, Jul 21, 1:24 PM
Unknown Object (File)
Sun, Jul 19, 9:16 PM
Unknown Object (File)
Jun 29 2026, 3:26 AM
Unknown Object (File)
Jun 28 2026, 12:07 PM
Unknown Object (File)
Jun 21 2026, 7:50 PM
Unknown Object (File)
Jun 18 2026, 9:53 PM
Unknown Object (File)
Jun 17 2026, 9:44 PM
Subscribers

Details

Summary

This is a round up of misc fixes to mesea ports:
Fix pr247138 by properly defining _GNU_SOURCE when building on FreeBSD. This was lost when moving from autotools to meson
Properly detect sys/sysctl.h on FreeBSD, it requres sys/types.h.
Fix a broken sed command to properly set ${PREFIX}/etc and ${PREFIX}/share as appropriate.

Test Plan

Build and see that -D_GNU_SOURCE and -DHAVE_SYS_SYSCTL_H is set on the command line.
Verify that the sed command actually worked by checking the resulting src/util/xmlconfig.c .

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable