diff options
author | bde <bde@FreeBSD.org> | 2003-05-05 12:54:26 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2003-05-05 12:54:26 +0000 |
commit | c0fd079086a2a7e180efec292360922ca8af5851 (patch) | |
tree | 847dfcc6cba084585172083cd3f9fec492e7e3c3 /Makefile.inc1 | |
parent | 5e7892f0e3e78bff61a1f46b64afadae569bdf49 (diff) | |
download | FreeBSD-src-c0fd079086a2a7e180efec292360922ca8af5851.zip FreeBSD-src-c0fd079086a2a7e180efec292360922ca8af5851.tar.gz |
Install symlinks to individual headers instead of symlinks to directories
in the SHARED=symlinks case. Symlinks to directories only work if all the
the necessary headers are in 1 directory, but the necessary headers are
scattered for at least ipfilter headers in <netinet>. This change also
avoids polluting /usr/include with non-headers; the /usr/include hierarchy
is now independent of the setting of SHARED.
Submitted by: ru (edited to fix netgraph/bluetooth/include and machine/pc)
PR: 44148
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 6456d90..989d016 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -279,14 +279,10 @@ _worldtmp: mkdir -p ${WORLDTMP}/legacy/${_dir} .endfor .for _dir in \ - usr/bin usr/lib/compat/aout usr/libdata/ldscripts usr/libexec usr/share/misc + usr/bin usr/include usr/lib/compat/aout usr/libdata/ldscripts \ + usr/libexec usr/share/misc mkdir -p ${WORLDTMP}/${_dir} .endfor -.for _dir in \ - arpa dev fs g++/backward g++/bits g++/ext isc isofs libmilter \ - objc openssl protocols readline rpc rpcsvc security ufs - mkdir -p ${WORLDTMP}/usr/include/${_dir} -.endfor ln -sf ${.CURDIR}/sys ${WORLDTMP} _legacy: @echo |