Ignore:
Timestamp:
Sep 28, 2010, 1:36:51 PM (9 years ago)
Author:
jmr@…
Message:

upclient: fix build on recent OS versions (#26661), add license, use configure.cc

Location:
trunk/dports/net/upclient
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/upclient/Portfile

    r71959 r71961  
    99maintainers     nomaintainer
    1010platforms       darwin
     11license         GPL-2+
    1112description     uptime sharing utility.
    1213long_description ${description}
     
    1819use_configure   no   
    1920build.target    ${os.platform}
    20 build.args      prefix="${prefix}"
     21build.args      prefix="${prefix}" MAKEFLAGS="" CC=${configure.cc}
    2122destroot.destdir destdir="${destroot}"
    2223destroot.args   prefix="${prefix}" \
    2324                mandir="${prefix}/share/man"
    24 post-extract {
     25post-patch {
    2526    reinplace "s|uptimes.wonko.com|uptimes.hostingwired.com|g" ${worksrcpath}/Makefile
     27    reinplace {s|CC=[a-z]*[:space:]| |g} ${worksrcpath}/Makefile
     28}
     29
     30platform darwin {
     31    if {${os.major} >= 9} {
     32        patchfiles-append no-kvm.patch
     33    }
    2634}
    2735
Note: See TracChangeset for help on using the changeset viewer.