[84066] trunk/dports/net/nsping/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Sep 15 20:57:28 PDT 2011


Revision: 84066
          http://trac.macports.org/changeset/84066
Author:   ryandesign at macports.org
Date:     2011-09-15 20:57:25 -0700 (Thu, 15 Sep 2011)
Log Message:
-----------
nsping: add universal variant

Modified Paths:
--------------
    trunk/dports/net/nsping/Portfile

Modified: trunk/dports/net/nsping/Portfile
===================================================================
--- trunk/dports/net/nsping/Portfile	2011-09-16 03:44:55 UTC (rev 84065)
+++ trunk/dports/net/nsping/Portfile	2011-09-16 03:57:25 UTC (rev 84066)
@@ -21,10 +21,13 @@
 checksums               md5 64785a50eb065a9b28ee33ec8c1ccab2
 extract.post_args       | gnutar -x
 use_configure           no
+
+variant universal {}
+
 build.args              CPPFLAGS="-DBIND_8_COMPAT" \
                         CC="${configure.cc}" \
-                        CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
-                        LDFLAGS="${configure.ld_archflags}"
+                        CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
+                        LDFLAGS="[get_canonical_archflags ld]"
 build.target
 destroot                { xinstall -m 555 -W ${worksrcpath} nsping ${destroot}${prefix}/bin
                           xinstall -m 644 -c -W ${worksrcpath} nsping.8 ${destroot}${prefix}/share/man/man8 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110915/445faf5c/attachment.html>


More information about the macports-changes mailing list