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>
This commit is contained in:
Edwin Groothuis 2008-05-28 12:25:15 +00:00
parent b52b8f0ed0
commit 4e68de6e62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213800

View file

@ -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