Ticket #27831: patch

File patch, 1.4 KB (added by drkp (Dan Ports), 14 years ago)
  • files/patch-GNUmakefile.in.diff

     
     1--- GNUmakefile.in.orig 2010-12-25 19:38:17.000000000 -0500
     2+++ GNUmakefile.in      2010-12-25 19:39:20.000000000 -0500
     3@@ -32168,7 +32168,7 @@
     4        $(PERL) $^ -i > $@
     5 
     6 JavaScriptCore/pcre/chartables.c: $(srcdir)/JavaScriptCore/pcre/dftables
     7-       $(PERL) $^ $@
     8+       $(PERL) $^ --preprocessor="@@CPP@@" $@
     9 # XPath grammar
     10 
     11 @ENABLE_XPATH_TRUE@$(GENSOURCES)/XPathGrammar.h: $(GENSOURCES)/XPathGrammar.cpp;
  • Portfile

     
    2323
    2424patchfiles      patch-WebKitTools-DumpRenderTree-gtk-TestNetscapePlugin-TestNetscapePlugin.cpp.diff \
    2525                patch-TextBreakIterator.diff\
    26                 patch-WebCore-config-h.diff
     26                patch-WebCore-config-h.diff \
     27                patch-GNUmakefile.in.diff
    2728
    2829depends_lib     \
    2930        port:gtk2 \
     
    4647
    4748post-patch {
    4849    reinplace "s|-licucore|-licui18n -licuuc|" ${worksrcpath}/configure
     50    reinplace "s|@@CPP@@|${configure.cpp}|" ${worksrcpath}/GNUmakefile.in
    4951
    5052    # For some reason, this isn't getting created for some people... ? /shrug
    5153    file mkdir ${worksrcpath}/DerivedSources