[28107] trunk/dports/devel/agprocess/Portfile
Ryan Schmidt
ryandesign at macports.org
Tue Aug 21 03:03:20 PDT 2007
Regarding this changeset, and the similar one in r28109 for agsocket:
On Aug 21, 2007, at 02:26, source_changes at macosforge.org wrote:
> Revision: 28107
> http://trac.macosforge.org/projects/macports/changeset/28107
> Author: nox at macports.org
> Date: 2007-08-21 00:26:10 -0700 (Tue, 21 Aug 2007)
>
> Log Message:
> -----------
> agprocess: Added universal support.
>
> Modified Paths:
> --------------
> trunk/dports/devel/agprocess/Portfile
>
> Modified: trunk/dports/devel/agprocess/Portfile
> ===================================================================
> --- trunk/dports/devel/agprocess/Portfile 2007-08-21 06:58:07 UTC
> (rev 28106)
> +++ trunk/dports/devel/agprocess/Portfile 2007-08-21 07:26:10 UTC
> (rev 28107)
> @@ -20,17 +20,28 @@
> homepage http://agkit.sourceforge.net/
> master_sites sourceforge:agkit
> distname ${my_name}-${version}
> -worksrcdir ${my_name}
> extract.suffix .tgz
>
> checksums md5 61b640f048aaed3d9d4cde6775b08957 \
> sha1 94e3831145b0fec2ebe4df4faeb699768219f87b \
> rmd160 9197095046acdc4b804fbed63c370e25e65fc454
>
> +worksrcdir ${my_name}
> +
> +# Dummy configure to enable universal variant
> +configure {}
> +
I don't think you need a dummy configure to enable the standard
universal variant, since you're declaring your own universal variant
which overwrites the default one anyway.
> xcode.target ${my_name}
> xcode.destroot.type framework
>
> -universal_variant no
> +variant universal {
> + post-patch {
> + cd ${worksrcpath}/${my_name}.pbproj
>
> + reinplace -E "/OTHER_CFLAGS/s|\"\"|\"$
> {configure.universal_cflags}\"|" project.pbxproj
> + reinplace -E "/OTHER_LDFLAGS/s|\"\"|\"$
> {configure.universal_ldflags}\"|" project.pbxproj
> + }
> +}
> +
> livecheck.regex "<title>${my_name} ${my_name}-(\\d+(?:\\.\\d+)*)
> released.*</title>"
More information about the macports-dev
mailing list