Ticket #26555: watch.diff

File watch.diff, 724 bytes (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)

proposed patch

  • Portfile

     
    33PortSystem 1.0
    44name            watch
    55version         3.2.8
     6revision        1
    67categories      sysutils
    78maintainers     yahoo.com:mjhsieh
    89description     watch executes a program periodically, showing output fullscreen
     
    2324
    2425depends_lib     port:ncurses
    2526
     27variant universal {}
     28if {[variant_isset universal]} {
     29        set archflags ${configure.universal_cflags}
     30} else {
     31        set archflags ${configure.cc_archflags}
     32}
     33
    2634build.target    watch
    27 build.args      CC=${configure.cc} \
     35build.args      CC="${configure.cc} ${archflags}" \
    2836                LDFLAGS="${configure.ldflags}" \
    2937                PKG_LDFLAGS=""
    3038