Ignore:
Timestamp:
Sep 18, 2010, 9:53:22 PM (9 years ago)
Author:
ryandesign@…
Message:

afsctool: link with MacPorts zlib even when building universal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/afsctool/Portfile

    r71632 r71649  
    66version         1.6.4
    77set distversion 34
     8revision        1
    89categories      sysutils
    910platforms       macosx
     
    4041build {
    4142    if {![variant_isset universal]} {
    42         set flags "${configure.cflags} ${configure.ldflags} ${configure.ld_archflags}"
     43        set archflags ${configure.cc_archflags}
    4344    } else {
    44         set flags "${configure.universal_cflags} ${configure.universal_ldflags}"
     45        set archflags ${configure.universal_cflags}
    4546    }
    46     system "cd ${worksrcpath} && ${configure.cc} ${flags} -lz -framework CoreServices -o afsctool afsctool.c"
     47    ui_msg "cd ${worksrcpath} && ${configure.cc} ${configure.cflags} ${configure.ldflags} ${archflags} -lz -framework CoreServices -o afsctool afsctool.c"
     48    system "cd ${worksrcpath} && ${configure.cc} ${configure.cflags} ${configure.ldflags} ${archflags} -lz -framework CoreServices -o afsctool afsctool.c"
    4749}
    4850
Note: See TracChangeset for help on using the changeset viewer.