Ticket #28205: portfile.patch
File portfile.patch, 1.3 KB (added by evanj@…, 14 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name scite 7 version 1.797 version 2.23 8 8 categories editors 9 9 platforms darwin 10 10 maintainers nomaintainer … … 23 23 depends_build port:pkgconfig 24 24 depends_lib port:gtk2 25 25 26 checksums md5 02a0d68f0c33c01c9a2c9d69c295acea \ 27 sha1 43f343b75785b077b6a93b5be8f5fc7544a1a005 \ 28 rmd160 e36f0e394d1afea007840ea1bb4fc660b0a59f1b 26 checksums md5 8802f8a7f72bad2af44c3c277d57c415 \ 27 sha1 8ffaee5a9eb5a0d7aec3a24ffce84bfbdb78cbe0 29 28 30 29 worksrcdir ${name}/gtk 31 30 32 patchfiles patch-scintilla-gtk-makefile.diff \ 33 patch-scite-gtk-makefile.diff 34 35 post-patch { 36 reinplace -E "s/#ifdef (PLAT_MACOSX|__APPLE__)/#if PLAT_MACOSX/" \ 37 ${workpath}/scintilla/include/Platform.h \ 38 ${workpath}/scintilla/src/Editor.cxx 39 reinplace s/-pedantic//g ${worksrcpath}/makefile \ 40 ${workpath}/${name}/src/cpp.properties \ 41 ${workpath}/scintilla/gtk/makefile 42 } 31 patchfiles scite-makefile.diff 43 32 44 33 use_configure no 45 34