pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/x11-links Fix the permissions on the director...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4090216e6d9d
branches: trunk
changeset: 495271:4090216e6d9d
user: jlam <jlam%pkgsrc.org@localhost>
date: Mon Jun 06 08:42:53 2005 +0000
description:
Fix the permissions on the directories installed by the x11-links
package in case the build user's umask is too strict. This change is
mostly from the patch in PR pkg/29256 by Ian Leroux.
diffstat:
pkgtools/x11-links/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 5589ad5511a2 -r 4090216e6d9d pkgtools/x11-links/Makefile
--- a/pkgtools/x11-links/Makefile Mon Jun 06 07:02:23 2005 +0000
+++ b/pkgtools/x11-links/Makefile Mon Jun 06 08:42:53 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2005/06/01 18:03:08 jlam Exp $
+# $NetBSD: Makefile,v 1.69 2005/06/06 08:42:53 jlam Exp $
#
# NOTE: If you update this package, then you'll likely need to also update
# the x11-links dependency in buildlink3.mk to the correct version,
@@ -53,11 +53,13 @@
do-build:
${MKDIR} ${X11_LINKS_BUILD_DIR}
+ ${CHMOD} ${PKGDIRMODE} ${X11_LINKS_BUILD_DIR}
${RM} -f ${PLIST_SRC.dirs}
${FILES_LIST_CMD} | ${SED} -e "s,/[^/]*$$,," | ${SORT} -u | \
while read dir; do \
if [ -d ${X11BASE}/$$dir ]; then \
${MKDIR} ${X11_LINKS_BUILD_DIR}/$$dir; \
+ ${CHMOD} ${PKGDIRMODE} ${X11_LINKS_BUILD_DIR}/$$dir; \
${ECHO} "@dirrm ${X11_LINKS_SUBDIR}/$$dir" \
>> ${PLIST_SRC.dirs}; \
fi; \
@@ -83,6 +85,6 @@
do-install:
${INSTALL_DATA_DIR} ${X11_LINKS_DIR}
- cd ${X11_LINKS_BUILD_DIR} && ${PAX} -rwpp . ${X11_LINKS_DIR}
+ cd ${X11_LINKS_BUILD_DIR} && ${PAX} -rw . ${X11_LINKS_DIR}
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index