[124081] trunk/dports/games/xboard/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Aug 19 19:47:18 PDT 2014


> On Aug 18, 2014, at 10:54 AM, khindenburg at macports.org wrote:
> 
> Revision
> 124081
> Author
> khindenburg at macports.org
> Date
> 2014-08-18 08:54:52 -0700 (Mon, 18 Aug 2014)
> Log Message
> 
> xboard: update to 4.7.3 - add deps #38185
> Modified Paths
> 
> 	• trunk/dports/games/xboard/Portfile
> Diff
> 
> Modified: trunk/dports/games/xboard/Portfile (124080 => 124081)
> 
> --- trunk/dports/games/xboard/Portfile	2014-08-18 15:13:49 UTC (rev 124080)
> +++ trunk/dports/games/xboard/Portfile	2014-08-18 15:54:52 UTC (rev 124081)
> 
> @@ -4,7 +4,7 @@
> 
>  PortSystem          1.0
> 
>  
> 
>  name                xboard
> 
> -version             4.6.0
> 
> +version             4.7.3
> 
>  categories          games
> 
>  maintainers         nomaintainer
> 
>  platforms           darwin
> 
> @@ -21,9 +21,10 @@
> 
>  homepage            http://www.gnu.org/software/xboard/
>  master_sites        gnu
> 
>  
> 
> -checksums           rmd160  8e578a9fb320e79991462a9f686fcc4a0ac21158 \
> -                    sha256  656786430c58d92cec6e505bcf70b490bd91c9f628dd7ba55aef2ab1103f3473
> 
> +checksums           rmd160  ff0a5363e898923026070e6c78ff054d2bb9773c \
> +                    sha256  7fd0b03f53dad57c587bc3438459612e2455534f715cfb0e637b6290f34cbeaa
> 
>  
> 
> +depends_build-append    port:pkgconfig port:cairo port:librsvg
> 
>  depends_lib         port:xorg-libXaw

When a port has a development version available, a dependency on it should be written so that the development version would also satisfy the dependency. In this case I'm talking about cairo. See other ports that depend on cairo for an example of how to do this.

cairo and librsvg are libraries; if xboard uses these libraries, then these ports should be library dependencies, not build dependencies. This seems to be confirmed by the output of otool:


$ otool -L /opt/local/bin/xboard
/opt/local/bin/xboard:
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)
	/opt/local/lib/libXaw.7.dylib (compatibility version 8.0.0, current version 8.0.0)
	/opt/local/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)
	/opt/local/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.1.0)
	/opt/local/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.2.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1139.1.0)
	/opt/local/lib/librsvg-2.2.dylib (compatibility version 43.0.0, current version 43.2.0)
	/opt/local/lib/libgio-2.0.0.dylib (compatibility version 4001.0.0, current version 4001.0.0)
	/opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.8.0)
	/opt/local/lib/libgobject-2.0.0.dylib (compatibility version 4001.0.0, current version 4001.0.0)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 4001.0.0, current version 4001.0.0)
	/opt/local/lib/libcairo.2.dylib (compatibility version 11203.0.0, current version 11203.16.0)


It looks like quite a few other dependencies may be needed as well.




More information about the macports-dev mailing list