[120076] trunk/base/doc/Makefile.in

cal at macports.org cal at macports.org
Wed May 14 15:59:06 PDT 2014


Revision: 120076
          https://trac.macports.org/changeset/120076
Author:   cal at macports.org
Date:     2014-05-14 15:59:06 -0700 (Wed, 14 May 2014)
Log Message:
-----------
base: doc/Makefile.in: chmod $prefix/man after installation

When installing with umask != 0022 mtree doesn't get the permissions of the
installed link right. Adjust them where possible after installation.

Modified Paths:
--------------
    trunk/base/doc/Makefile.in

Modified: trunk/base/doc/Makefile.in
===================================================================
--- trunk/base/doc/Makefile.in	2014-05-14 22:58:05 UTC (rev 120075)
+++ trunk/base/doc/Makefile.in	2014-05-14 22:59:06 UTC (rev 120076)
@@ -38,6 +38,11 @@
 
 	< prefix.mtree $(MTREE) -U -e -p "${INSTALLDIR}" > /dev/null
 	< base.mtree $(MTREE) -U -e -p "${INSTALLDIR}" > /dev/null
+ifneq (8, at OS_MAJOR@)
+# Tiger's chmod doesn't accept -h
+# mtree with umask 0077 doesn't get the permissions of the symlink right
+	chmod -h 755 ${INSTALLDIR}/man
+endif
 
 	for f in ${CONF}; do \
 		$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$f "${DESTDIR}${mpconfigdir}/$${f}.default"; \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140514/2b8a52b2/attachment.html>


More information about the macports-changes mailing list