Revision
75279
Author
michaelld@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

Diff

Modified: trunk/dports/audio/phonon/Portfile (75278 => 75279)


--- 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 \