Ticket #2539: gtk2.diff
File gtk2.diff, 1.1 KB (added by opendarwin.nospam@…, 20 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 name gtk2 5 5 version 2.6.0 6 revision 16 revision 2 7 7 categories x11 8 8 maintainers mij@opendarwin.org 9 9 description Gimp ToolKit version 2 … … 34 34 35 35 build.args CFLAGS+="-I${x11prefix}/include" 36 36 37 post-configure { reinplace "s|__PREFIX__|${prefix}|g" ${filespath}/gdk-pixbuf.loaders }38 37 39 38 platform darwin 6 { patchfiles-append patch-gtk-xdgmime-xdgmimemagic.c } 40 39 … … 42 41 system "ln -fs libgdk-x11-2.0.0.600.0.dylib ${destroot}${prefix}/lib/libgdk.2.dylib" 43 42 system "install -d -m 755 ${destroot}${prefix}/etc/gtk-2.0" 44 43 system "cp ${filespath}/gdk-pixbuf.loaders ${destroot}${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" 44 reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders 45 45 system "env LANG=C DYLD_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/bin/gtk-query-immodules-2.0 > ${destroot}${prefix}/etc/gtk-2.0/gtk.immodules" }