[119204] trunk/base/src/port/Makefile.in

jmr at macports.org jmr at macports.org
Sun Apr 20 06:30:16 PDT 2014


Revision: 119204
          https://trac.macports.org/changeset/119204
Author:   jmr at macports.org
Date:     2014-04-20 06:30:15 -0700 (Sun, 20 Apr 2014)
Log Message:
-----------
ensure symlinks to executables have appropriate permissions to allow them to be dereferenced on darwin

Modified Paths:
--------------
    trunk/base/src/port/Makefile.in

Modified: trunk/base/src/port/Makefile.in
===================================================================
--- trunk/base/src/port/Makefile.in	2014-04-20 12:50:23 UTC (rev 119203)
+++ trunk/base/src/port/Makefile.in	2014-04-20 13:30:15 UTC (rev 119204)
@@ -41,3 +41,6 @@
 	$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $(srcdir)/port-help.tcl  ${INSTALLDIR}/var/macports/
 	cd ${INSTALLDIR}/bin && $(LN_S) -f port portf
 	cd ${INSTALLDIR}/bin && $(LN_S) -f ${TCLSH} port-tclsh
+ifneq (,$(findstring darwin, at build_os@))
+	chmod -h 555 ${INSTALLDIR}/bin/portf ${INSTALLDIR}/bin/port-tclsh
+endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140420/cf0a0e63/attachment.html>


More information about the macports-changes mailing list