6.25. Ports That Rely on Kernel Sources
Prev | Chapter 6. Special Considerations | Next

## 6.25. Ports That Rely on Kernel Sources

Some ports (such as kernel loadable modules) need the kernel source files so that the port can compile. Here is the correct way to determine if the user has them installed:

.if !exists(${SRC_BASE}/sys/Makefile) IGNORE= requires kernel sources to be installed .endif

Prev | Up | Next
6.24. Adding Users and Groups | Home | Chapter 7. Advanced `pkg-plist` Practices

This, and other documents, can be downloaded from http://ftp.FreeBSD.org/pub/FreeBSD/doc/

For questions about FreeBSD, read the documentation before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.