Ticket #11979: gauche.diff

File gauche.diff, 3.6 KB (added by takanori@…, 18 years ago)
  • files/patch-gc_Makefile.in

     
     1--- gc/Makefile.in.orig 2007-01-08 19:19:34.000000000 +0900
     2+++ gc/Makefile.in      2007-05-17 21:08:54.000000000 +0900
     3@@ -357,7 +357,7 @@
     4 
     5 # gctest_OBJECTS = test.o
     6 gctest_SOURCES = tests/test.c
     7-gctest_LDADD = ./libgc.la $(THREADDLLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS)
     8+gctest_LDADD = ./libgc.la $(THREADDLLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS) -lgauche
     9 test_cpp_SOURCES = tests/test_cpp.cc
     10 test_cpp_LDADD = ./libgc.la ./libgccpp.la $(THREADDLLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS)
     11 TESTS = $(check_PROGRAMS)
  • Portfile

     
    22
    33PortSystem 1.0
    44name                    gauche
    5 version                 0.8.9
     5version                 0.8.10
    66categories              lang scheme
    77maintainers             yuhei@pop21.odn.ne.jp
    88description             A script interpreter based on Scheme
     
    2020                    Quick startup, Multibyte strings, Modular \
    2121                    development, Integrated object system, System \
    2222                    interface and Enhanced I/O.
     23platforms           darwin
    2324homepage                http://www.shiro.dreamhost.com/scheme/gauche/
    2425master_sites        sourceforge
    2526distname                Gauche-${version}
    2627distfiles               ${distname}.tgz
    27 checksums               md5 242febb7ab09b95377e39aabb8adb6d7
     28checksums               md5 8ff2506962808c9e06e5049d2c5c1a0b
     29patchfiles          patch-gc_Makefile.in
     30depends_lib         port:gdbm \
     31                    port:libiconv \
     32                    port:slib
     33
    2834configure.args      --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
    2935                    --with-local=${prefix} --enable-multibyte=utf-8 \
    3036                    --with-iconv=${prefix} --with-slib=${prefix}/lib/slib \
    3137                    --enable-threads=pthreads --enable-ipv6
    32 depends_lib         port:libiconv port:gdbm port:slib
     38
     39test.run            yes
     40
    3341destroot.target     slibcat-in-place install-pkg install-doc
     42
    3443platform darwin 6 { depends_lib-append port:dlcompat }
    35 platform darwin 8 { configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 }
    36 variant euc-jp  {  configure.args-delete --enable-multibyte=utf-8
     44
     45variant euc_jp conflicts sjis no_multibyte { configure.args-delete --enable-multibyte=utf-8
    3746                    configure.args-append --enable-multibyte=euc-jp }
    38 variant sjis    {  configure.args-delete --enable-multibyte=utf-8
     47variant sjis conflicts euc_jp no_multibyte { configure.args-delete --enable-multibyte=utf-8
    3948                    configure.args-append --enable-multibyte=sjis }
    40 variant no-multibyte { configure.args-delete --enable-multibyte=utf-8
     49variant no_multibyte conflicts euc_jp sjis { configure.args-delete --enable-multibyte=utf-8
    4150                        configure.args-append --enable-multibyte=no }
    42 variant no-iconv  { depends_lib-delete port:libiconv
     51variant no_iconv  { depends_lib-delete port:libiconv
    4352                    configure.args-delete --with-iconv=${prefix} }
    44 variant no-gdbm   { depends_lib-delete port:gdbm }
    45 variant no-slib   { depends_lib-delete port:slib
     53variant no_gdbm   { depends_lib-delete port:gdbm }
     54variant no_slib   { depends_lib-delete port:slib
    4655                    configure.args-delete --with-slib=${prefix}/lib/slib }
    47 variant no-threads   {  configure.args-delete --enable-threads=pthreads }
    48 variant no-ipv6 {   configure.args-delete --enable-ipv6 }
     56variant no_threads   {  configure.args-delete --enable-threads=pthreads }
     57variant no_ipv6 {   configure.args-delete --enable-ipv6 }
    4958