Regarding this changeset, and the similar one in r28109 for agsocket:

On Aug 21, 2007, at 02:26, [EMAIL PROTECTED] wrote:

Revision: 28107
          http://trac.macosforge.org/projects/macports/changeset/28107
Author:   [EMAIL PROTECTED]
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>"



_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to