pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/libarchive Make WRKSRC files copied from FIL...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d4d3606684e3
branches: trunk
changeset: 352427:d4d3606684e3
user: gdt <gdt%pkgsrc.org@localhost>
date: Wed Sep 14 12:57:55 2016 +0000
description:
Make WRKSRC files copied from FILESDIR writable
The contents of FILESDIR may or or may have the user write bit set.
They contain generated files (list.h), and libarchive's build system
recreates these files by opening them for writing without first
removing them.
Discussed on tech-pkg@; thanks to dholland@ for suggesting chmod -R as
both the simplest change and the one least likely to need adjusting.
diffstat:
archivers/libarchive/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 23beea054a6b -r d4d3606684e3 archivers/libarchive/Makefile
--- a/archivers/libarchive/Makefile Wed Sep 14 12:52:09 2016 +0000
+++ b/archivers/libarchive/Makefile Wed Sep 14 12:57:55 2016 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index