Ticket #38844: Portfile-tk.diff
File Portfile-tk.diff, 1.1 KB (added by irony42@…, 12 years ago) |
---|
-
Portfile
old new 4 4 5 5 name tk 6 6 version 8.6.0 7 revision 17 revision 2 8 8 categories x11 9 9 license Tcl/Tk 10 10 maintainers mww openmaintainer … … 66 66 if {${os.platform} == "darwin" && ${os.subplatform} == "macosx" && ${os.major} >= 10} { 67 67 variant quartz conflicts x11 { 68 68 depends_lib-delete port:Xft2 port:xorg-libXScrnSaver port:fontconfig 69 # tk.h still includes and uses types from X11/Xlib.h70 depends_lib-append port:xorg-libX1171 69 configure.ldflags-delete -lfontconfig 72 70 configure.args-append --enable-aqua 71 72 # tk.h still includes and uses types from X11/Xlib.h 73 # Revert to "depends_lib-append port:xorg-libX11" if all else fails. 74 patchfiles-append patch-no-x11h.diff 75 post-patch { 76 file copy ${workpath}/tk${version}/xlib/X11/Xlib.h ${workpath}/tk${version}/generic/tkX11Xlib.h 77 } 73 78 post-destroot { 74 79 delete ${destroot}${prefix}/include/X11 75 80 }