Ticket #3100: Portfile.diff

File Portfile.diff, 1.4 KB (added by opendarwin.org@…, 20 years ago)

portfile patch

  • Portfile

    ? Portfile.diff
    ? files/patch-configure
    ? files/patch-settings.make.in
    ? files/patch-src_internal.h
    RCS file: /Volumes/src/cvs/od/projects/darwinports/dports/net/adns/Portfile,v
    retrieving revision 1.4
    diff -u -r1.4 Portfile
     
    33PortSystem 1.0
    44name             adns
    55version          1.1
     6revision         1
    67categories       net
    78maintainers      toby@opendarwin.org
    89description      asynchronous DNS client library
     
    1617                 ${homepage}ftp/
    1718checksums        md5 891956e305acf5fc83b099333bf3ffd9
    1819
    19 patchfiles       patch-src__parse.c
    20 
    21 configure.args   --disable-dynamic
     20patchfiles      patch-configure \
     21                patch-settings.make.in \
     22                patch-src__parse.c \
     23                patch-src_internal.h
    2224
    2325test.run         yes
    2426test.target      check
     
    3032    xinstall -m 444 src/libadns.a ${destroot}${prefix}/lib
    3133    system "ranlib ${destroot}${prefix}/lib/libadns.a"
    3234    xinstall -m 444 src/adns.h ${destroot}${prefix}/include
     35    xinstall -m 755 dynamic/libadns.dylib.1.1 ${destroot}${prefix}/lib
     36    system "(cd ${destroot}${prefix}/lib && ln -s libadns.dylib.1.1 libadns.dylib.1)"
     37    system "(cd ${destroot}${prefix}/lib && ln -s libadns.dylib.1.1 libadns.dylib)"
    3338}