[36851] trunk/dports/devel/class-dump/Portfile

Ryan Schmidt ryandesign at macports.org
Fri May 16 21:40:57 PDT 2008


You can't do this until the next version of MacPorts is released.  
MacPorts 1.6.0 does not have that variable.

$ port install class-dump +universal
Error: Error executing universal: can't read  
"configure.universal_archs": no such variable
Error: Unable to open port: Error evaluating variants
$


On May 16, 2008, at 3:54 PM, waqar at macports.org wrote:

> Revision: 36851
>           http://trac.macosforge.org/projects/macports/changeset/36851
> Author:   waqar at macports.org
> Date:     2008-05-16 13:54:08 -0700 (Fri, 16 May 2008)
>
> Log Message:
> -----------
> Added patch for universal binary.
>
> Modified Paths:
> --------------
>     trunk/dports/devel/class-dump/Portfile
>
> Modified: trunk/dports/devel/class-dump/Portfile
> ===================================================================
> --- trunk/dports/devel/class-dump/Portfile	2008-05-16 20:26:07 UTC  
> (rev 36850)
> +++ trunk/dports/devel/class-dump/Portfile	2008-05-16 20:54:08 UTC  
> (rev 36851)
> @@ -5,7 +5,7 @@
>
>  name		class-dump
>  version		3.1.2
> -revision	1
> +revision	2
>  categories	devel
>  maintainers	waqar at macports.org
>  description	Utility for examining the Objective-C segment of Mach- 
> O files.
> @@ -29,8 +29,8 @@
>  xcode.destroot.path ${prefix}/bin
>
>  variant universal {
> -    xcode.build.settings    ARCHS="i386 ppc"
> -    xcode.destroot.settings ARCHS="i386 ppc"
> +    set xcode.build.settings    ARCHS="${configure.universal_archs}"
> +    set xcode.destroot.settings ARCHS="${configure.universal_archs}"
>  }
>
>  livecheck.check regex


More information about the macports-dev mailing list