FreeBSD Porter's Handbook
Prev | Chapter 6 Special Considerations | Next

# 6.26 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 | Home | Next
Adding Users and Groups | Up | Advanced `pkg-plist` Practices

For questions about the FreeBSD ports system, e-mail <ports@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.