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)
Wed, Mar 26, 7:18 PM
Unknown Object (File)
Sat, Mar 22, 4:02 AM
Unknown Object (File)
Sun, Mar 16, 6:06 PM
Unknown Object (File)
Wed, Mar 12, 2:05 PM
Unknown Object (File)
Wed, Mar 12, 5:55 AM
Unknown Object (File)
Feb 22 2025, 7:27 AM
Unknown Object (File)
Jan 31 2025, 9:04 AM
Unknown Object (File)
Jan 20 2025, 4: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