summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/libarchive/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile
index d51adec74cd..c8e87ecf6d0 100644
--- a/archivers/libarchive/Makefile
+++ b/archivers/libarchive/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2016/07/01 17:55:22 jperkin Exp $
+# $NetBSD: Makefile,v 1.46 2016/09/14 12:57:55 gdt Exp $
.include "Makefile.common"
@@ -12,6 +12,9 @@ CONFIGURE_ARGS+= --disable-bsdtar
do-extract:
${CP} -r ${FILESDIR} ${WRKSRC}
+ # Contents of ${FILESDIR} may not have the u=w bit set, and
+ # the build system assumes files in ${WRKSRC} are writable.
+ ${CHMOD} -R u+w ${WRKSRC}
# workaround for pkg/45491
CONFIGURE_ENV.SunOS+= ac_cv_header_ext2fs_ext2_fs_h=no