[71649] trunk/dports/sysutils/afsctool/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Sep 18 14:53:23 PDT 2010


Revision: 71649
          http://trac.macports.org/changeset/71649
Author:   ryandesign at macports.org
Date:     2010-09-18 14:53:22 -0700 (Sat, 18 Sep 2010)
Log Message:
-----------
afsctool: link with MacPorts zlib even when building universal

Modified Paths:
--------------
    trunk/dports/sysutils/afsctool/Portfile

Modified: trunk/dports/sysutils/afsctool/Portfile
===================================================================
--- trunk/dports/sysutils/afsctool/Portfile	2010-09-18 21:37:27 UTC (rev 71648)
+++ trunk/dports/sysutils/afsctool/Portfile	2010-09-18 21:53:22 UTC (rev 71649)
@@ -5,6 +5,7 @@
 name            afsctool
 version         1.6.4
 set distversion 34
+revision        1
 categories      sysutils
 platforms       macosx
 license         GPLv3
@@ -39,11 +40,12 @@
 
 build {
     if {![variant_isset universal]} {
-        set flags "${configure.cflags} ${configure.ldflags} ${configure.ld_archflags}"
+        set archflags ${configure.cc_archflags}
     } else {
-        set flags "${configure.universal_cflags} ${configure.universal_ldflags}"
+        set archflags ${configure.universal_cflags}
     }
-    system "cd ${worksrcpath} && ${configure.cc} ${flags} -lz -framework CoreServices -o afsctool afsctool.c"
+    ui_msg "cd ${worksrcpath} && ${configure.cc} ${configure.cflags} ${configure.ldflags} ${archflags} -lz -framework CoreServices -o afsctool afsctool.c"
+    system "cd ${worksrcpath} && ${configure.cc} ${configure.cflags} ${configure.ldflags} ${archflags} -lz -framework CoreServices -o afsctool afsctool.c"
 }
 
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100918/6e5e8c0d/attachment.html>


More information about the macports-changes mailing list