NetBSD Wiki/projects/project/
Further isolate builds from system environment
- Contact: tech-pkg
 - Mentors: Amitai Schleier
 - Duration estimate: 1 month
 
Buildlink is a framework in pkgsrc that controls what headers and libraries are seen by a package's configure and build processes. We'd like to expand on this isolation by:
- Hiding 
-L${PREFIX}/{include,lib}fromCFLAGS/LDFLAGS, so that (for instance) undeclared buildlink dependencies will give the needed "not found" earlier in the package-development cycle - Hiding 
${PREFIX}/binfromPATH, so that (for instance) undeclared build- or run-time tools will give the needed "not found" earlier in the package-development cycle 
Steps:
- Do bulk builds with the existing defaults on a few platforms (e.g., NetBSD, macOS, Illumos, Linux)
 - Rerun the bulk builds from scratch, this time with the desired infrastructure changes
 - Compare before and after to see which package builds break
 - Fix them
 - Enable the infrastructure changes by default for all users
 
