aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2008-05-28 20:25:15 +0800
committeredwin <edwin@FreeBSD.org>2008-05-28 20:25:15 +0800
commitab0abf0f0409eea458b7a32e11546fe1b380f2e4 (patch)
treeb3f181ee77a80cbc7fc35bba5f996166ddc87306 /misc
parentf6aed9f26c67e97ff176a69f4f7fda0508b369e8 (diff)
downloadfreebsd-ports-graphics-ab0abf0f0409eea458b7a32e11546fe1b380f2e4.tar.gz
freebsd-ports-graphics-ab0abf0f0409eea458b7a32e11546fe1b380f2e4.tar.zst
freebsd-ports-graphics-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/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/compat5x/Makefile b/misc/compat5x/Makefile
index 67a9c4f7d8c..f01eb686588 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