freebsd.geom: split outputs; link gpart manpage
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
lib,
|
||||
mkDerivation,
|
||||
libgeom,
|
||||
libufs,
|
||||
@@ -18,6 +19,12 @@ let
|
||||
"sys/opencrypto"
|
||||
];
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
"debug"
|
||||
];
|
||||
|
||||
# libgeom needs sbuf and bsdxml but linker doesn't know that
|
||||
buildInputs = [
|
||||
libgeom
|
||||
@@ -37,8 +44,19 @@ mkDerivation {
|
||||
"lib/Makefile.inc"
|
||||
"lib/geom"
|
||||
];
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
"debug"
|
||||
];
|
||||
|
||||
GEOM_CLASS_DIR = "${libs}/lib";
|
||||
|
||||
# link in man pages from libs
|
||||
postInstall = ''
|
||||
mkdir -p $man/share/man/man8
|
||||
ln -s ${lib.getMan libs}/share/man/man8/*.8* $man/share/man/man8/
|
||||
'';
|
||||
|
||||
buildInputs = [ libgeom ];
|
||||
}
|
||||
|
||||
@@ -5,6 +5,13 @@
|
||||
}:
|
||||
mkDerivation {
|
||||
path = "lib/libgeom";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
"debug"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libbsdxml
|
||||
libsbuf
|
||||
|
||||
Reference in New Issue
Block a user