Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 2010 18:28:34 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        ports@FreeBSD.org
Subject:   Proper way to detect kernel / userland sources?
Message-ID:  <241091055.20101109182834@serebryakov.spb.ru>

next in thread | raw e-mail | index | archive | help
Hello, Ports.

  I'm  preparing port which depends both on kernel source (it contains
kernel module) and userland sources (it needs GEOM sources).

  I   see,   that  ports  with  kernel  modules  check  for  hardcoded
  "/usr/src/sys/Makefile".  But it doesn't look good: sources could be
  perfectly valid, but placed in other directory!

  Is  here  any  standerd  variable  which  should  be used instead of
  hardcoded "/usr/src"?

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?241091055.20101109182834>