RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/x11/XFree86/Portfile,v
retrieving revision 1.44
diff -u -r1.44 Portfile
|
|
|
36 | 36 | destroot.target install install.man |
37 | 37 | |
38 | 38 | variant 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 | |
39 | 45 | configure { |
40 | 46 | set hostfd [open "${worksrcpath}/config/cf/host.def" a+] |
41 | 47 | puts $hostfd "#define ProjectRoot ${prefix}" |