Ticket #24799: Portfile-sqlite3.2.diff
File Portfile-sqlite3.2.diff, 2.0 KB (added by franck.cassedanne@…, 13 years ago) |
---|
-
Portfile
old new 7 7 categories databases 8 8 platforms darwin 9 9 license public-domain 10 maintainers mww o penmaintainer10 maintainers mww ouarz.net:franck.cassedanne openmaintainer 11 11 description an embedded SQL database engine 12 12 long_description SQLite3 is an SQL database engine in a C library. \ 13 13 Programs that link the SQLite3 library can have SQL \ … … 33 33 --enable-dynamic-extensions \ 34 34 --enable-readline 35 35 # search in worksrcpath for sqlite3.h first -- dont pick up an installed one! 36 configure.cppflags "-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I${worksrcpath} -I${prefix}/include"36 configure.cppflags "-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I${worksrcpath} -I${prefix}/include" 37 37 38 38 build.type gnu 39 39 … … 48 48 platform darwin 8 { 49 49 configure.cppflags-append -DSQLITE_ENABLE_LOCKING_STYLE=0 50 50 } 51 52 variant fts3 description {Add the FTS3 extension for full text search} { 53 configure.cppflags-append -DSQLITE_ENABLE_FTS3 -SQLITE_ENABLE_FTS3_PARENTHESIS 54 } 55 56 variant rtree description {Add the R*Tree extension for spatial data structure} { 57 configure.cppflags-append -DSQLITE_ENABLE_RTREE=1 58 } 59 60 variant soundex description {Enables the soundex() function} { 61 configure.cppflags-append -DSQLITE_SOUNDEX=1 62 } 63 64 variant icu description {Add the International Components for Unicode (ICU) extension} { 65 depends_lib-append port:icu 66 configure.ldflags-append [exec ${prefix}/bin/icu-config --ldflags] 67 configure.cppflags-append -DSQLITE_ENABLE_ICU 68 } 69 70 variant secure_delete description {Overwrite deleted content with zeros} { 71 configure.cppflags-append -DSQLITE_SECURE_DELETE=1 72 } 73 74 variant stat2 description {Enables additional logic to the query planner and to the ANALYZE command} { 75 configure.cppflags-append -DSQLITE_ENABLE_STAT2=1 76 } 77 No newline at end of file