Lines 678-685
Link Here
|
678 |
|
678 |
|
679 |
dyn_clean() { |
679 |
dyn_clean() { |
680 |
if [ "$USERLAND" == "BSD" ] && type -p chflags &>/dev/null; then |
680 |
if [ "$USERLAND" == "BSD" ] && type -p chflags &>/dev/null; then |
681 |
chflags -R noschg,nouchg,nosappnd,nouappnd,nosunlnk,nouunlnk \ |
681 |
if [ "${CHOST/*-openbsd*}" != "${CHOST}" ]; then |
|
|
682 |
chflags -R noschg,nouchg,nosappnd,nouappnd "${BUILDDIR}" |
683 |
else |
684 |
chflags -R noschg,nouchg,nosappnd,nouappnd,nosunlnk,nouunlnk \ |
682 |
"${BUILDDIR}" |
685 |
"${BUILDDIR}" |
|
|
686 |
fi |
683 |
fi |
687 |
fi |
684 |
|
688 |
|
685 |
if [ "$USERLAND" == "Darwin" ] && type -p chflags &>/dev/null; then |
689 |
if [ "$USERLAND" == "Darwin" ] && type -p chflags &>/dev/null; then |