aboutsummaryrefslogtreecommitdiff
path: root/misc/compat5x
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2008-05-28 12:25:15 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2008-05-28 12:25:15 +0000
commit4e68de6e62a1041a55b7f9ae4c56f9e04f150e99 (patch)
tree6dc0885351195c897387c3b5a6fe922673bf5622 /misc/compat5x
parentb52b8f0ed009046be04e780ca9863fc2577ca090 (diff)
downloadports-4e68de6e62a1041a55b7f9ae4c56f9e04f150e99.tar.gz
ports-4e68de6e62a1041a55b7f9ae4c56f9e04f150e99.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>
Notes
Notes: svn path=/head/; revision=213800
Diffstat (limited to 'misc/compat5x')
-rw-r--r--misc/compat5x/Makefile2
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