[83358] trunk/dports/net/fetch

Ryan Schmidt ryandesign at macports.org
Tue Aug 30 22:03:59 PDT 2011


On Aug 30, 2011, at 02:49, afb at macports.org wrote:

> Revision: 83358
>          http://trac.macports.org/changeset/83358
> Author:   afb at macports.org
> Date:     2011-08-30 00:49:32 -0700 (Tue, 30 Aug 2011)
> Log Message:
> -----------
> fetch: upgrade to 7.4.0, use right compiler

Can you please also ensure you're using [get_canonical_archflags]? You may then be able to easily add a universal variant as well.


> @@ -13,13 +13,14 @@
> use_bzip2	yes
> homepage	http://www.freebsd.org/
> master_sites	macports
> -checksums	md5 adfd092d7cd45c9797105e433662591f \
> -		sha1 a5fcee23a373993c8595939fba1651578cc9d62e \
> -		rmd160 d538646f3bc58cf7e6b9fea9c3fd3806a0d3317d
> +checksums	md5 8625ef0e30fc922efb0da566765371c7 \
> +		sha1 44ee199b6493b92aa7c56b33923c8e59c18c839f \
> +		rmd160 bb44a3cac83f96626a7d9790d996fb9183913bb3
> worksrcdir	${name}
> use_configure	no
> depends_lib	lib:libfetch.5:libfetch port:openssl

Can you rewrite this as a port: dependency please?


> build.type	bsd
> +build.env	CC=${configure.cc} CFLAGS=${configure.cflags}
> build.args	CFLAGS+=-I${prefix}/include LDFLAGS+=-L${prefix}/lib -DMK_OPENSSL

Why set CFLAGS in build.env, then append to CFLAGS in build.args?




More information about the macports-dev mailing list