[86458] trunk/dports/aqua/osx2x/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Oct 26 01:03:28 PDT 2011


Revision: 86458
          http://trac.macports.org/changeset/86458
Author:   ryandesign at macports.org
Date:     2011-10-26 01:03:25 -0700 (Wed, 26 Oct 2011)
Log Message:
-----------
osx2x: simplify destroot, hopefully fixing Xcode 4 issue; see #31782

Modified Paths:
--------------
    trunk/dports/aqua/osx2x/Portfile

Modified: trunk/dports/aqua/osx2x/Portfile
===================================================================
--- trunk/dports/aqua/osx2x/Portfile	2011-10-26 07:49:03 UTC (rev 86457)
+++ trunk/dports/aqua/osx2x/Portfile	2011-10-26 08:03:25 UTC (rev 86458)
@@ -45,14 +45,11 @@
 depends_lib     port:xorg-libXtst \
                 port:openssl
 
-set library_search_path "LIBRARY_SEARCH_PATHS='$prefix/lib'"
+xcode.configuration Release
+xcode.build.settings-append LIBRARY_SEARCH_PATHS=${prefix}/lib
 
-eval xcode.build.settings-append        $library_search_path
-eval xcode.destroot.settings-append     $library_search_path
-
-post-destroot {
-    xinstall -d $destroot${applications_dir}
-    copy $worksrcpath/build/UninstalledProducts/osx2x.app $destroot${applications_dir}/
+destroot {
+    copy ${worksrcpath}/build/${xcode.configuration}/osx2x.app ${destroot}${applications_dir}
 }
 
 livecheck.type      regexm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111026/41958b26/attachment-0001.html>


More information about the macports-changes mailing list