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)
Thu, Jul 25, 12:36 PM
Unknown Object (File)
Thu, Jul 25, 12:30 PM
Unknown Object (File)
Thu, Jul 25, 12:30 PM
Unknown Object (File)
Mon, Jul 22, 9:51 AM
Unknown Object (File)
Sat, Jul 20, 4:38 AM
Unknown Object (File)
May 23 2024, 1:03 PM
Unknown Object (File)
May 23 2024, 8:28 AM
Unknown Object (File)
Apr 28 2024, 7:09 AM
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