ftgl: drop an impure -dylib_file on darwin

The build may outright fail because of this on recent macOS:

ftgl> clang-11: error: no such file or directory: '/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib'

+8
+8
pkgs/development/libraries/ftgl/default.nix
··· 23 23 hash = "sha256-6TDNGoMeBLnucmHRgEDIVWcjlJb7N0sTluqBwRMMWn4="; 24 24 }; 25 25 26 + # GL_DYLIB is hardcoded to an impure path 27 + # /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 28 + # and breaks build on recent macOS versions 29 + postPatch = '' 30 + substituteInPlace m4/gl.m4 \ 31 + --replace ' -dylib_file $GL_DYLIB: $GL_DYLIB' "" 32 + ''; 33 + 26 34 nativeBuildInputs = [ 27 35 autoreconfHook 28 36 doxygen