Ticket #16640: ecl.patch

File ecl.patch, 1.7 KB (added by maciej@…, 16 years ago)
  • files/src_Makefile.in-cppflags.patch

     
     1--- src/c/Makefile.in   2008-09-24 20:40:10.000000000 +0200
     2+++ src/c/Makefile.in   2008-09-24 20:41:41.000000000 +0200
     3@@ -75,7 +75,7 @@
     4 
     5 $(DPP): $(srcdir)/dpp.c $(srcdir)/symbols_list2.h
     6        if test -f ../CROSS-DPP; then touch dpp; else \
     7-       $(TRUE_CC) @CFLAGS@ @ECL_CFLAGS@ -I$(srcdir) -I@true_builddir@ -I./ $(DEFS) $(srcdir)/dpp.c  -o $@ ; \
     8+       $(TRUE_CC) @CPPFLAGS@ @CFLAGS@ @ECL_CFLAGS@ -I$(srcdir) -I@true_builddir@ -I./ $(DEFS) $(srcdir)/dpp.c  -o $@ ; \
     9        fi
     10 $(srcdir)/symbols_list2.h: $(srcdir)/symbols_list.h Makefile
     11        cat $(srcdir)/symbols_list.h | \
  • Portfile

     
    2222
    2323depends_lib     port:gmp
    2424
    25 configure.args  --with-ffi
     25patchfiles      src_Makefile.in-cppflags.patch
    2626
    27 pre-destroot    {
    28         reinplace s|${prefix}|${destroot}${prefix}|g \
    29                   ${worksrcpath}/Makefile
    30         reinplace s|${prefix}|${destroot}${prefix}|g \
    31                   ${worksrcpath}/build/Makefile
    32         reinplace s|/man/man1|/share/man/man1|g \
    33                   ${worksrcpath}/build/Makefile
    34         reinplace s|${prefix}|${destroot}${prefix}|g \
    35                   ${worksrcpath}/build/c/Makefile
    36         reinplace s|${prefix}|${destroot}${prefix}|g \
    37                   ${worksrcpath}/build/gc/Makefile
    38         reinplace s|${prefix}|${destroot}${prefix}|g \
    39                   ${worksrcpath}/build/gmp/Makefile
    40         reinplace s|${prefix}|${destroot}${prefix}|g \
    41                   ${worksrcpath}/build/doc/Makefile
    42         reinplace s|/local/info|/local/share/info|g \
    43                   ${worksrcpath}/build/doc/Makefile
    44 }
     27configure.args  --with-ffi