[89341] trunk/dports/textproc/jshon/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jan 25 17:49:39 PST 2012


Revision: 89341
          http://trac.macports.org/changeset/89341
Author:   ryandesign at macports.org
Date:     2012-01-25 17:49:39 -0800 (Wed, 25 Jan 2012)
Log Message:
-----------
jshon: jansson is a library dependency not just a build dependency; add universal variant and ensure we're UsingTheRightCompiler and -arch flags

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

Modified: trunk/dports/textproc/jshon/Portfile
===================================================================
--- trunk/dports/textproc/jshon/Portfile	2012-01-26 01:42:20 UTC (rev 89340)
+++ trunk/dports/textproc/jshon/Portfile	2012-01-26 01:49:39 UTC (rev 89341)
@@ -4,6 +4,7 @@
 PortGroup  github 1.0
 
 github.setup    keenerd jshon 20111222
+revision        1
 categories      textproc
 platforms       darwin
 license         MIT
@@ -15,8 +16,14 @@
 fetch.type      git
 git.branch      471a3bd08e
 
-depends_build   port:jansson
+depends_lib     port:jansson
+
 use_configure   no
+
+variant universal {}
+
+build.args      CC="${configure.cc} [get_canonical_archflags cc]"
+
 destroot {
     xinstall -m 755 ${worksrcpath}/jshon ${destroot}${prefix}/bin/
     xinstall -m 644 ${worksrcpath}/jshon.1 ${destroot}${prefix}/share/man/man1/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120125/9f2ce02a/attachment.html>


More information about the macports-changes mailing list