[50749] trunk/dports/x11/quartz-wm/Portfile

Ryan Schmidt ryandesign at macports.org
Mon May 11 01:10:53 PDT 2009


On May 8, 2009, at 14:10, jeremyhu at macports.org wrote:

> Revision: 50749
>           http://trac.macports.org/changeset/50749
> Author:   jeremyhu at macports.org
> Date:     2009-05-08 12:10:43 -0700 (Fri, 08 May 2009)
> Log Message:
> -----------
> quartz-wm: Fix quartz-wm when prefix is not /opt/local

Should we bump the revision so that those who do have MacPorts  
installed in a nonstandard prefix will get this change?


> Modified Paths:
> --------------
>     trunk/dports/x11/quartz-wm/Portfile
>
> Modified: trunk/dports/x11/quartz-wm/Portfile
> ===================================================================
> --- trunk/dports/x11/quartz-wm/Portfile	2009-05-08 19:08:19 UTC  
> (rev 50748)
> +++ trunk/dports/x11/quartz-wm/Portfile	2009-05-08 19:10:43 UTC  
> (rev 50749)
> @@ -45,4 +45,11 @@
>  	} else {
>  		xinstall -m 755 ${worksrcpath}/quartz-wm-${version}-Leopard $ 
> {destroot}${prefix}/bin/quartz-wm
>  	}
> +
> +	if {${prefix} != "/opt/local"} {
> +		system "install_name_tool -change /opt/local/lib/libXinerama. 
> 1.dylib ${prefix}/lib/libXinerama.1.dylib ${destroot}${prefix}/bin/ 
> quartz-wm"
> +		system "install_name_tool -change /opt/local/lib/libXext.6.dylib  
> ${prefix}/lib/libXext.6.dylib ${destroot}${prefix}/bin/quartz-wm"
> +		system "install_name_tool -change /opt/local/lib/libX11.6.dylib $ 
> {prefix}/lib/libX11.6.dylib ${destroot}${prefix}/bin/quartz-wm"
> +		system "install_name_tool -change /opt/local/lib/libAppleWM. 
> 7.dylib ${prefix}/lib/libAppleWM.7.dylib ${destroot}${prefix}/bin/ 
> quartz-wm"
> +	}
>  }




More information about the macports-dev mailing list