summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-05-04 16:28:54 +0000
committerbapt <bapt@FreeBSD.org>2015-05-04 16:28:54 +0000
commit79de2555b1dfa4438f7ec71d3385b86e3bbe36d0 (patch)
tree5cd31e3767f29d82f87cfe495e4ebad8fb41da45 /etc
parentfdda0c9272fa3b42fbab8a86029ae271a48c5506 (diff)
downloadFreeBSD-src-79de2555b1dfa4438f7ec71d3385b86e3bbe36d0.zip
FreeBSD-src-79de2555b1dfa4438f7ec71d3385b86e3bbe36d0.tar.gz
Rework PRIVATELIB
Now when a lib is marked as PRIVATELIB it is renamed into libprivate$foo instead of being installed in /usr/lib/private and playing with rpath. Also allow to install headers for PRIVATELIBS in that case the headers will be installed in /usr/include/private/$foo Keep the headers under a private namespace to prevent third party build system to easily find them to ensure they are only used on purpose. This allows for non base applications to statically link against a library in base which is linked to a privatelib Treating PRIVATELIBS as regular libraries allows to push them into our current compatX packages if needed. While here finish promotion of libevent as PRIVATELIB Install header for bsdstat and libucl Differential Revision: https://reviews.freebsd.org/D2365 Reviewed by: brooks, des Discussed with: imp
Diffstat (limited to 'etc')
-rw-r--r--etc/mtree/BSD.usr.dist10
1 files changed, 6 insertions, 4 deletions
diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist
index b182894..f0d42a2 100644
--- a/etc/mtree/BSD.usr.dist
+++ b/etc/mtree/BSD.usr.dist
@@ -8,6 +8,12 @@
bin
..
include
+ private
+ bsdstat
+ ..
+ ucl
+ ..
+ ..
..
lib
aout
@@ -32,16 +38,12 @@
..
i18n
..
- private
- ..
..
lib32
dtrace
..
i18n
..
- private
- ..
..
libdata
gcc
OpenPOWER on IntegriCloud