Ticket #23350: Portfile.patch

File Portfile.patch, 1.2 KB (added by jberry@…, 15 years ago)
  • Portfile

     
    44
    55name                    sqlite3
    66version                 3.6.22
     7revision                1
    78categories              databases
    89platforms               darwin
    910maintainers             mww
     
    2425                    rmd160  3de220362e58589649b068519b9d2aa021371ca4
    2526
    2627depends_lib             port:readline \
    27                                 port:ncurses
     28                                port:ncurses \
     29                                port:icu
    2830
    2931# '-lm' makes freebsd happy & darwin not angry (and makes variants unnecessary)
    3032# '-lncurses' is needed to build universal on Tiger; see #15661
     
    3234                        --enable-load-extension \
    3335                        --with-readline-inc="-I${prefix}/include" \
    3436                        --with-readline-lib="-L${prefix}/lib -lreadline -lm -lncurses"
     37                       
    3538# search in worksrcpath for sqlite3.h first -- dont pick up an installed one!
    36 configure.cppflags      "-DSQLITE_ENABLE_COLUMN_METADATA=1 -I${worksrcpath} -I${prefix}/include"
     39configure.cppflags      "-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_ICU -DSQLITE_ENABLE_COLUMN_METADATA=1 -I${worksrcpath} -I${prefix}/include"
     40configure.ldflags "-L${prefix}/lib -licudata -licui18n -licuio -licule -liculx -licutu -licuuc"
    3741
    3842use_parallel_build      no
    3943build.type              gnu