Ticket #34017: Portfile-ryandesign.diff

File Portfile-ryandesign.diff, 868 bytes (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)
  • Portfile

     
    55
    66name                    par
    77version                 1.52
     8revision                1
    89categories              textproc
    910platforms               darwin
    1011maintainers             gmail.com:qbarnes
     
    1516distname                [string totitle $name][string map {. {}} $version]
    1617checksums               md5 4ccacd824171ba2c2f14fb8aba78b9bf
    1718
    18 configure {
    19         file copy ${worksrcpath}/protoMakefile ${worksrcpath}/Makefile
    20         reinplace "s|\$(CC) \$<|\$(CC) \$(CFLAGS) \$<|" ${worksrcpath}/Makefile
    21 }
     19patchfiles              patch-nbspace.diff \
     20                        patch-ptrdiffwarn.diff
    2221
     22use_configure           no
     23
     24variant universal {}
     25
     26build.args              -f protoMakefile \
     27                        CC="${configure.cc} -c ${configure.optflags} [get_canonical_archflags cc]" \
     28                        LINK1="${configure.cc} [get_canonical_archflags ld]"
    2329build.target
    2430
    2531destroot {