diff options
author | edwin <edwin@FreeBSD.org> | 2008-05-28 20:25:15 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2008-05-28 20:25:15 +0800 |
commit | ab0abf0f0409eea458b7a32e11546fe1b380f2e4 (patch) | |
tree | b3f181ee77a80cbc7fc35bba5f996166ddc87306 /misc | |
parent | f6aed9f26c67e97ff176a69f4f7fda0508b369e8 (diff) | |
download | freebsd-ports-gnome-ab0abf0f0409eea458b7a32e11546fe1b380f2e4.tar.gz freebsd-ports-gnome-ab0abf0f0409eea458b7a32e11546fe1b380f2e4.tar.zst freebsd-ports-gnome-ab0abf0f0409eea458b7a32e11546fe1b380f2e4.zip |
compat5x port can fail to extract if you're root.
If you are building the misc/compat5x port as root, it can
fail to extract properly, if your ports dir is not owned
by root:wheel, but for example by root:src.
This is because the files in the distfile archive have the schg flag set.
That flag is killed btw in the post-extract phase.
PR: ports/122306
Submitted by: Dimitry Andric <dimitry@andric.com>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/compat5x/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/compat5x/Makefile b/misc/compat5x/Makefile index 67a9c4f7d8c3..f01eb6865889 100644 --- a/misc/compat5x/Makefile +++ b/misc/compat5x/Makefile @@ -32,6 +32,8 @@ TARGET_DIR= ${PREFIX}/lib/compat TARGET32_DIR= ${PREFIX}/lib32/compat USE_LDCONFIG= ${TARGET_DIR} +EXTRACT_PRESERVE_OWNERSHIP= yes # Files in archive have scfg-flag set + .include <bsd.port.pre.mk> .if ${OSVERSION} < 600000 |