Ticket #10238: patch-Portfile.diff

File patch-Portfile.diff, 787 bytes (added by cssdev@…, 18 years ago)

patch for XFree86 Portfile

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/x11/XFree86/Portfile,v
    retrieving revision 1.44
    diff -u -r1.44 Portfile
     
    3636destroot.target install install.man
    3737
    3838variant darwin {
     39        pre-fetch {
     40                if {[file exists /usr/X11R6/include/X11/X.h] \
     41                & ![file exists /usr/X11R6/lib/libX11.dylib]} then \
     42                        {ui_error "You appear to have X11 headers installed without the X11 libraries. If you wish to use Apple's X11, then please install using your Mac OS X Install DVD."}
     43        }
     44
    3945        configure {
    4046                set hostfd [open "${worksrcpath}/config/cf/host.def" a+]
    4147                puts $hostfd "#define ProjectRoot ${prefix}"