Ticket #10944: Portfile.diff

File Portfile.diff, 723 bytes (added by ecronin (Eric Cronin), 17 years ago)
  • Portfile

    old new  
    3131
    3232patchfiles              patch-configure patch-libsmb_clikrb5.c
    3333
    34 configure.env   CFLAGS=-I${prefix}/include \
     34configure.env   CFLAGS="-I${prefix}/include -fno-common" \
    3535                                CPPFLAGS="-I${prefix}/include -DHAVE_STRUCT_TIMESPEC" \
    3636                                LDFLAGS=-L${prefix}/lib
    3737configure.args  --with-mandir=${prefix}/share/man \
     
    4545                                --without-readline \
    4646                                --enable-cups
    4747
     48post-patch {
     49        reinplace "s|-bundle|-dynamiclib|g" ${worksrcpath}/configure
     50}
     51
    4852platform darwin 8 {
    4953        patchfiles-append               patch-darwin8-lib-system.c
    5054        configure.env-append    CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0