Add/use MTREE_FOLLOWS_SYMLINKS make.conf option
This is part of whole subsystem fixing Reviewed by: imp
This commit is contained in:
parent
1cb190742f
commit
a938a1fcf8
10
etc/Makefile
10
etc/Makefile
@ -148,12 +148,12 @@ distribution:
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
distrib-dirs:
|
distrib-dirs:
|
||||||
mtree -deU -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/
|
||||||
mtree -deU -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var
|
||||||
mtree -deU -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr
|
||||||
mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.include.dist \
|
||||||
-p ${DESTDIR}/usr/include
|
-p ${DESTDIR}/usr/include
|
||||||
mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.include.dist \
|
||||||
-p ${DESTDIR}/usr/libdata/perl/5.6.0/mach
|
-p ${DESTDIR}/usr/libdata/perl/5.6.0/mach
|
||||||
cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys
|
cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys
|
||||||
cd ${DESTDIR}/usr/share/locale; \
|
cd ${DESTDIR}/usr/share/locale; \
|
||||||
|
@ -43,6 +43,9 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
|
|||||||
# Compare before install
|
# Compare before install
|
||||||
#INSTALL=install -C
|
#INSTALL=install -C
|
||||||
#
|
#
|
||||||
|
# Mtree will follow symlinks
|
||||||
|
MTREE_FOLLOWS_SYMLINKS= -L
|
||||||
|
#
|
||||||
# To enable building enstalling suidperl with the setuid bit turned on
|
# To enable building enstalling suidperl with the setuid bit turned on
|
||||||
#ENABLE_SUIDPERL= true
|
#ENABLE_SUIDPERL= true
|
||||||
#
|
#
|
||||||
|
@ -43,6 +43,9 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
|
|||||||
# Compare before install
|
# Compare before install
|
||||||
#INSTALL=install -C
|
#INSTALL=install -C
|
||||||
#
|
#
|
||||||
|
# Mtree will follow symlinks
|
||||||
|
MTREE_FOLLOWS_SYMLINKS= -L
|
||||||
|
#
|
||||||
# To enable building enstalling suidperl with the setuid bit turned on
|
# To enable building enstalling suidperl with the setuid bit turned on
|
||||||
#ENABLE_SUIDPERL= true
|
#ENABLE_SUIDPERL= true
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user