[78845] trunk/dports/textproc/multimarkdown/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue May 24 05:15:02 PDT 2011


Revision: 78845
          http://trac.macports.org/changeset/78845
Author:   ryandesign at macports.org
Date:     2011-05-24 05:15:00 -0700 (Tue, 24 May 2011)
Log Message:
-----------
multimarkdown: ensure we're UsingTheRightCompiler, fix universal variant and support changing build_arch

Modified Paths:
--------------
    trunk/dports/textproc/multimarkdown/Portfile

Modified: trunk/dports/textproc/multimarkdown/Portfile
===================================================================
--- trunk/dports/textproc/multimarkdown/Portfile	2011-05-24 11:29:02 UTC (rev 78844)
+++ trunk/dports/textproc/multimarkdown/Portfile	2011-05-24 12:15:00 UTC (rev 78845)
@@ -6,7 +6,7 @@
 set git_name        peg-${name}
 set git_author      fletcher
 version             3.0b11
-revision            1
+revision            2
 categories          textproc
 license             GPL-2+ MIT
 maintainers         singingwolfboy openmaintainer
@@ -39,6 +39,14 @@
     system "cd ${worksrcpath} && git submodule update"
 }
 
+variant universal {}
+if {[variant_isset universal]} {
+    set archflags ${configure.universal_cflags}
+} else {
+    set archflags ${configure.cc_archflags}
+}
+build.args          CC="${configure.cc} ${archflags}"
+
 #use_configure       no
 # "make docs" builds multimarkdown as a dependency
 build.target        docs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110524/dbccb951/attachment.html>


More information about the macports-changes mailing list