Ticket #17956: system_x11.fix.patch

File system_x11.fix.patch, 1.8 KB (added by mtalexander (Mike Alexander), 16 years ago)

Fix some ports that won't work with the system_x11 variant when cleaned

  • dports/x11/mesa/Portfile

     
    3636use_configure  no
    3737
    3838post-extract {
    39         ln -s darwin ${worksrcpath}/configs/current
     39        if {[file exists "${worksrcpath}/configs/current"]} {
     40           ln -s darwin ${worksrcpath}/configs/current
     41        }
    4042}
    4143
    4244build.target default
     
    5557        if { [file exists ${x11prefix}/lib/libGLU.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
    5658                fetch           { }
    5759                checksum        { }
     60                distfiles       
     61                patch           { }
    5862                build           { }
    5963                destroot        {
    6064                        xinstall -d ${destroot}${prefix}/share/doc/${name}
  • dports/x11/xorg-libAppleWM/Portfile

     
    5151                        system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
    5252                }
    5353                use_configure no
     54                use_autoconf no
    5455        }
    5556}
  • dports/x11/xrender/Portfile

     
    3535use_parallel_build  yes
    3636
    3737post-destroot {
    38     set docdir ${prefix}/share/doc/${name}-${version}
    39     xinstall -d ${destroot}${docdir}
    40     xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
    41         ${destroot}${docdir}
     38    if {[file exists "${worksrcpath}"]} {
     39        set docdir ${prefix}/share/doc/${name}-${version}
     40        xinstall -d ${destroot}${docdir}
     41        xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
     42            ${destroot}${docdir}
     43    }
    4244}
    4345
    4446platform macosx {