[89968] trunk/dports/net/tcp_wrappers/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Feb 17 09:17:50 PST 2012


Revision: 89968
          http://trac.macports.org/changeset/89968
Author:   ryandesign at macports.org
Date:     2012-02-17 09:17:50 -0800 (Fri, 17 Feb 2012)
Log Message:
-----------
tcp_wrappers: enable universal variant

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

Modified: trunk/dports/net/tcp_wrappers/Portfile
===================================================================
--- trunk/dports/net/tcp_wrappers/Portfile	2012-02-17 17:16:01 UTC (rev 89967)
+++ trunk/dports/net/tcp_wrappers/Portfile	2012-02-17 17:17:50 UTC (rev 89968)
@@ -35,6 +35,8 @@
 
 use_configure           no
 
+variant universal {}
+
 build.target            macos
 build.args              REAL_DAEMON_DIR=${prefix}/libexec \
                         STYLE=-DPROCESS_OPTIONS           \
@@ -46,14 +48,9 @@
                         BUGS=                             \
                         MAJOR=7                           \
                         MINOR=6                           \
-                        CC="${configure.cc}"
+                        CFLAGS="-g -Os -pipe -fno-common" \
+                        CC="${configure.cc} [get_canonical_archflags cc]"
 
-if {[variant_exists universal] && [variant_isset universal]} {
-    build.args-append    CFLAGS="-g -Os -pipe -fno-common ${configure.universal_cflags}"
-} else {
-    build.args-append    CFLAGS="-g -Os -pipe -fno-common ${configure.cc_archflags}"
-}
-
 destroot {
     xinstall -m 755 -W ${worksrcpath} safe_finger tcpdchk tcpdmatch try-from \
         ${destroot}${prefix}/sbin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120217/4e742f03/attachment.html>


More information about the macports-changes mailing list