OPTIONS += SQLITE

Submitted by:   Adam Pordzik <ap@d-dt.de> (via e-mail)
This commit is contained in:
Philip M. Gollucci 2009-12-24 19:49:51 +00:00
parent 5ef60f7fa5
commit f672c0b8ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246544
8 changed files with 88 additions and 4 deletions

View File

@ -6,6 +6,7 @@
PORTNAME= apr
PORTVERSION= ${APR_VERSION}.${APU_VERSION}
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= apr
@ -25,7 +26,8 @@ OPTIONS= THREADS "Enable Threads in apr" on \
NDBM "Enable NDBM support in apr-util" off \
LDAP "Enable LDAP support in apr-util" off \
MYSQL "Enable MySQL suport in apr-util" off \
PGSQL "Enable Postgresql suport in apr-util" off
PGSQL "Enable Postgresql suport in apr-util" off \
SQLITE "Enable SQLite3 support in apr-util" off
APR_VERSION= 1.3.9
APU_VERSION= 1.3.9
@ -171,6 +173,21 @@ PKGNAMESUFFIX= -pgsql
PLIST_SUB+= PGSQL="@comment "
.endif
.if defined(WITH_SQLITE)
APU_EXTRAS= yes
PLIST_SUB+= SQLITE3=""
USE_SQLITE= YES
CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE}
.if defined(PKGNAMESUFFIX)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-sqlite3
.else
PKGNAMESUFFIX= -sqlite3
.endif
.else
CONFIGURE_ARGS+= --without-sqlite3
PLIST_SUB+= SQLITE3="@comment "
.endif
.if defined(APU_EXTRAS)
PLIST_SUB+= APU_EXTRAS=""
.else

View File

@ -108,6 +108,10 @@ lib/libaprutil-1.so.%%SHLIB_MAJOR%%
%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.so
%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.la
%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.a
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3-1.so
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.so
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.la
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.a
%%APU_EXTRAS%%@dirrm lib/apr-util-1
@dirrm %%DATADIR%%/build-1
@dirrm %%DATADIR%%

View File

@ -6,6 +6,7 @@
PORTNAME= apr
PORTVERSION= ${APR_VERSION}.${APU_VERSION}
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= apr
@ -25,7 +26,8 @@ OPTIONS= THREADS "Enable Threads in apr" on \
NDBM "Enable NDBM support in apr-util" off \
LDAP "Enable LDAP support in apr-util" off \
MYSQL "Enable MySQL suport in apr-util" off \
PGSQL "Enable Postgresql suport in apr-util" off
PGSQL "Enable Postgresql suport in apr-util" off \
SQLITE "Enable SQLite3 support in apr-util" off
APR_VERSION= 1.3.9
APU_VERSION= 1.3.9
@ -171,6 +173,21 @@ PKGNAMESUFFIX= -pgsql
PLIST_SUB+= PGSQL="@comment "
.endif
.if defined(WITH_SQLITE)
APU_EXTRAS= yes
PLIST_SUB+= SQLITE3=""
USE_SQLITE= YES
CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE}
.if defined(PKGNAMESUFFIX)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-sqlite3
.else
PKGNAMESUFFIX= -sqlite3
.endif
.else
CONFIGURE_ARGS+= --without-sqlite3
PLIST_SUB+= SQLITE3="@comment "
.endif
.if defined(APU_EXTRAS)
PLIST_SUB+= APU_EXTRAS=""
.else

View File

@ -108,6 +108,10 @@ lib/libaprutil-1.so.%%SHLIB_MAJOR%%
%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.so
%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.la
%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.a
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3-1.so
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.so
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.la
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.a
%%APU_EXTRAS%%@dirrm lib/apr-util-1
@dirrm %%DATADIR%%/build-1
@dirrm %%DATADIR%%

View File

@ -6,6 +6,7 @@
PORTNAME= apr
PORTVERSION= ${APR_VERSION}.${APU_VERSION}
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= apr
@ -25,7 +26,8 @@ OPTIONS= THREADS "Enable Threads in apr" on \
NDBM "Enable NDBM support in apr-util" off \
LDAP "Enable LDAP support in apr-util" off \
MYSQL "Enable MySQL suport in apr-util" off \
PGSQL "Enable Postgresql suport in apr-util" off
PGSQL "Enable Postgresql suport in apr-util" off \
SQLITE "Enable SQLite3 support in apr-util" off
APR_VERSION= 1.3.9
APU_VERSION= 1.3.9
@ -171,6 +173,21 @@ PKGNAMESUFFIX= -pgsql
PLIST_SUB+= PGSQL="@comment "
.endif
.if defined(WITH_SQLITE)
APU_EXTRAS= yes
PLIST_SUB+= SQLITE3=""
USE_SQLITE= YES
CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE}
.if defined(PKGNAMESUFFIX)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-sqlite3
.else
PKGNAMESUFFIX= -sqlite3
.endif
.else
CONFIGURE_ARGS+= --without-sqlite3
PLIST_SUB+= SQLITE3="@comment "
.endif
.if defined(APU_EXTRAS)
PLIST_SUB+= APU_EXTRAS=""
.else

View File

@ -108,6 +108,10 @@ lib/libaprutil-1.so.%%SHLIB_MAJOR%%
%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.so
%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.la
%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.a
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3-1.so
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.so
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.la
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.a
%%APU_EXTRAS%%@dirrm lib/apr-util-1
@dirrm %%DATADIR%%/build-1
@dirrm %%DATADIR%%

View File

@ -6,6 +6,7 @@
PORTNAME= apr
PORTVERSION= ${APR_VERSION}.${APU_VERSION}
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= apr
@ -25,7 +26,8 @@ OPTIONS= THREADS "Enable Threads in apr" on \
NDBM "Enable NDBM support in apr-util" off \
LDAP "Enable LDAP support in apr-util" off \
MYSQL "Enable MySQL suport in apr-util" off \
PGSQL "Enable Postgresql suport in apr-util" off
PGSQL "Enable Postgresql suport in apr-util" off \
SQLITE "Enable SQLite3 support in apr-util" off
APR_VERSION= 1.3.9
APU_VERSION= 1.3.9
@ -171,6 +173,21 @@ PKGNAMESUFFIX= -pgsql
PLIST_SUB+= PGSQL="@comment "
.endif
.if defined(WITH_SQLITE)
APU_EXTRAS= yes
PLIST_SUB+= SQLITE3=""
USE_SQLITE= YES
CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE}
.if defined(PKGNAMESUFFIX)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-sqlite3
.else
PKGNAMESUFFIX= -sqlite3
.endif
.else
CONFIGURE_ARGS+= --without-sqlite3
PLIST_SUB+= SQLITE3="@comment "
.endif
.if defined(APU_EXTRAS)
PLIST_SUB+= APU_EXTRAS=""
.else

View File

@ -108,6 +108,10 @@ lib/libaprutil-1.so.%%SHLIB_MAJOR%%
%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.so
%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.la
%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.a
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3-1.so
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.so
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.la
%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.a
%%APU_EXTRAS%%@dirrm lib/apr-util-1
@dirrm %%DATADIR%%/build-1
@dirrm %%DATADIR%%