FreeBSD Bugzilla – Attachment 197558 Details for
Bug 231770
databases/sqlite3: Add ICU flavor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add flavors - default and icu
patch-sqlite3@icu (text/plain), 1.67 KB, created by
fsbruva
on 2018-09-27 21:10:34 UTC
(
hide
)
Description:
Add flavors - default and icu
Filename:
MIME Type:
Creator:
fsbruva
Created:
2018-09-27 21:10:34 UTC
Size:
1.67 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 480818) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= sqlite3 > DISTVERSION= 3.25.1 >+PORTREVISION= 1 > CATEGORIES= databases > MASTER_SITES= https://www.sqlite.org/2018/ http://www2.sqlite.org/2018/ http://www3.sqlite.org/2018/ > DISTNAME= sqlite-autoconf-${PORTVERSION:C/\.([[:digit:]])[[:>:]]/0\1/g:S/.//g}00 >@@ -19,6 +20,10 @@ > > MAKE_JOBS_UNSAFE= yes > >+FLAVORS= default icu >+FLAVOR?= ${FLAVORS:[1]} >+icu_PKGNAMESUFFIX= -icu >+ > # Compilation Options For SQLite https://www.sqlite.org/compile.html > OPTIONS_DEFINE= FTS4 URI URI_AUTHORITY METADATA \ > DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADS \ >@@ -109,7 +114,11 @@ > DBSTAT_DESC= Enable DBSTAT Virtual Table > > # https://www.sqlite.org/fts3.html#tokenizer >+.if ${FLAVOR} == icu >+OPTIONS_GROUP_UNICODE= UNICODE61 >+.else > OPTIONS_GROUP_UNICODE= ICU UNICODE61 >+.endif > UNICODE_DESC= Unicode support > UNICODE61_DESC= Unicode Version 6.1 tokenizer > >@@ -185,11 +194,17 @@ > > THREADS_CONFIGURE_ENABLE= threadsafe > THREADS_LIBS= -lpthread >- >+.if ${FLAVOR} == icu >+icu_BUILD_DEPENDS= ${LOCALBASE}/bin/icu-config:devel/icu >+icu_LIB_DEPENDS= libicudata.so:devel/icu >+CPPFLAGS+= `${LOCALBASE}/bin/icu-config --cppflags` -DSQLITE_ENABLE_ICU=1 >+LIBS+= `${LOCALBASE}/bin/icu-config --ldflags` >+.else > ICU_BUILD_DEPENDS= ${LOCALBASE}/bin/icu-config:devel/icu > ICU_LIB_DEPENDS= libicudata.so:devel/icu > ICU_CPPFLAGS= `${LOCALBASE}/bin/icu-config --cppflags` -DSQLITE_ENABLE_ICU=1 > ICU_LIBS= `${LOCALBASE}/bin/icu-config --ldflags` >+.endif > > UNICODE61_CPPFLAGS= "" > UNICODE61_CPPFLAGS_OFF= -DSQLITE_DISABLE_FTS3_UNICODE=1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 231770
:
197558
|
197702
|
197729