[75279] trunk/dports/audio/phonon/Portfile

michaelld at macports.org michaelld at macports.org
Wed Jan 19 08:51:10 PST 2011


Revision: 75279
          http://trac.macports.org/changeset/75279
Author:   michaelld at macports.org
Date:     2011-01-19 08:51:10 -0800 (Wed, 19 Jan 2011)
Log Message:
-----------
phonon: Fixes ticket #27968: 'find' on 10.4 does not understand "-depth" but does understand "-maxdepth", so use that instead since it works with all 'find' versions from 10.4 to date.

Modified Paths:
--------------
    trunk/dports/audio/phonon/Portfile

Modified: trunk/dports/audio/phonon/Portfile
===================================================================
--- trunk/dports/audio/phonon/Portfile	2011-01-19 16:45:31 UTC (rev 75278)
+++ trunk/dports/audio/phonon/Portfile	2011-01-19 16:51:10 UTC (rev 75279)
@@ -72,11 +72,11 @@
 
     # create the 'headers.pri' and 'phonon' files
     set public_headers [exec find ${worksrcpath}/phonon \
-                                 -name "*.h" -depth 1 | \
+                                 -name "*.h" -maxdepth 1 -mindepth 1 | \
                              sed -e "s@${worksrcpath}/@@g" | \
                              grep -v "_p"]
     set private_headers [exec find ${worksrcpath}/phonon \
-                                 -name "*.h" -depth 1 | \
+                                 -name "*.h" -maxdepth 1 -mindepth 1 | \
                              sed -e "s@${worksrcpath}/@@g" | \
                              grep "_p"]
     set class_headers [exec find ${worksrcpath}/includes/phonon \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110119/5f0f00da/attachment-0001.html>


More information about the macports-changes mailing list