FreeBSD Bugzilla – Attachment 83835 Details for
Bug 119712
[PATCH] www/apache20 use BDB from bsd.databases.mk
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.82 KB, created by
Martin Matuska
on 2008-01-16 11:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Martin Matuska
Created:
2008-01-16 11:10:01 UTC
Size:
3.82 KB
patch
obsolete
>Index: ports/www/apache20/Makefile.doc >=================================================================== >RCS file: /home/pcvs/ports/www/apache20/Makefile.doc,v >retrieving revision 1.19 >diff -u -r1.19 Makefile.doc >--- ports/www/apache20/Makefile.doc 10 May 2006 19:50:26 -0000 1.19 >+++ ports/www/apache20/Makefile.doc 16 Jan 2008 11:01:30 -0000 >@@ -35,9 +35,10 @@ > ## WITH_THREADS: Enable threads support !! USE IT WITH CARE !! > ## WITH_DBM: Choose your DBM: bdb (Berkeley DB), gdbm or > ## ndbm (default) >-## WITH_BERKELEYDB: Choose your BerkeleyDB version: db2, db3, >-## db4, db41, db42, db43 or FreeBSD (1.85) >-## (default) >+## WITH_BDB: Define to select bdb via bsd.databases.mk >+## desired version may be set with >+## WITH_BDB_VER or APACHE22_WITH_BDB_VER >+## WITH_BDB_BASE: Define to use bdb from base (1.85) > ## WITH_STATIC_SUPPORT: Build statically linked support binaries > ## WITH_STATIC_APACHE: Build a static version of httpd (implies > ## WITH_STATIC_MODULES) >Index: ports/www/apache20/Makefile.modules >=================================================================== >RCS file: /home/pcvs/ports/www/apache20/Makefile.modules,v >retrieving revision 1.24 >diff -u -r1.24 Makefile.modules >--- ports/www/apache20/Makefile.modules 29 Mar 2007 17:39:45 -0000 1.24 >+++ ports/www/apache20/Makefile.modules 16 Jan 2008 11:01:30 -0000 >@@ -45,12 +45,13 @@ > > # xDBM section > # >-.if !defined(WITH_DBM) && defined(WITH_BERKELEYDB) >+.if !defined(WITH_DBM) >+. if defined(WITH_BDB) || defined(WITH_BDB_BASE) > WITH_DBM=bdb >+. endif > .endif >-.if defined(WITH_DBM) && !defined(WITH_BERKELEYDB) >-WITH_BERKELEYDB= FreeBSD >-.endif >+ >+ > > .if defined(WITH_DBM) > . if ${WITH_DBM:L} == "sdbm" >@@ -59,40 +60,16 @@ > LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm > CONFIGURE_ARGS+= --with-gdbm=${LOCALBASE} > . elif ${WITH_DBM:L} == "db" || ${WITH_DBM:L} == "bdb" >-. if ${WITH_BERKELEYDB} == "FreeBSD" >-CONFIGURE_ARGS+= --with-dbm=db185 \ >- --with-berkeley-db=/usr >-. elif ${WITH_BERKELEYDB} == "db2" >-LIB_DEPENDS+= db2:${PORTSDIR}/databases/db2 >-CONFIGURE_ARGS+= --with-dbm=db2 \ >- --with-berkeley-db=${LOCALBASE} >-. elif ${WITH_BERKELEYDB} == "db3" >-LIB_DEPENDS+= db3:${PORTSDIR}/databases/db3 >-CONFIGURE_ARGS+= --with-dbm=db3 \ >- --with-berkeley-db=${LOCALBASE} >-. elif ${WITH_BERKELEYDB} == "db4" >-LIB_DEPENDS+= db4:${PORTSDIR}/databases/db4 >-CONFIGURE_ARGS+= --with-dbm=db4 \ >- --with-berkeley-db=${LOCALBASE} >-. elif ${WITH_BERKELEYDB} == "db41" >-LIB_DEPENDS+= db41:${PORTSDIR}/databases/db41 >-CONFIGURE_ARGS+= --with-dbm=db41 \ >- --with-berkeley-db=${LOCALBASE} >-. elif ${WITH_BERKELEYDB} == "db42" >-LIB_DEPENDS+= db-4.2:${PORTSDIR}/databases/db42 >-CONFIGURE_ARGS+= --with-dbm=db42 \ >- --with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db42 >-. elif ${WITH_BERKELEYDB} == "db43" >-LIB_DEPENDS+= db-4.3:${PORTSDIR}/databases/db43 >-CONFIGURE_ARGS+= --with-dbm=db43 \ >- --with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db43 >-. elif ${WITH_BERKELEYDB} == "db44" >-LIB_DEPENDS+= db-4.4:${PORTSDIR}/databases/db44 >-CONFIGURE_ARGS+= --with-dbm=db44 \ >- --with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db44 >-. else >-IGNORE= "Unknown Berkeley DB version" >-. endif >+. if defined(WITH_BDB_BASE) >+CONFIGURE_ARGS+= --with-dbm=db185 \ >+ --with-berkeley-db=/usr >+. else >+USE_BDB= yes >+INVALID_BDB_VER= 46 >+CONFIGURE_ARGS+= --with-dbm=db${BDB_VER:S/40/4/} \ >+ --with-berkeley-db=${LOCALBASE} >+. endif >+. else > . else > IGNORE= "Unknown DBM" > . endif
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 119712
: 83835