Bug 119712 - [PATCH] www/apache20 use BDB from bsd.databases.mk
Summary: [PATCH] www/apache20 use BDB from bsd.databases.mk
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Clement Laforet
Depends on:
Reported: 2008-01-16 11:10 UTC by Martin Matuska
Modified: 2008-01-20 15:10 UTC (History)
0 users

See Also:

file.diff (3.82 KB, patch)
2008-01-16 11:10 UTC, Martin Matuska
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Matuska freebsd_committer 2008-01-16 11:10:01 UTC
- Use bsd.databases.mk for bdb selection
	This adds support for version definition via WITH_BDB_VER or
	APACHE20_WITH_BDB_VER, defines dependencies etc.
	In the only case of db40 apache requires "--with-dbm=db4", 
	so a substitution "--with-dbm=db${BDB_VER:S/40/4/}" is used
	Apache 2.0 does not support db46, so INVALID_BDB_VER=46
- Add knob WITH_BDB for BerkeleyDB DBM
	If defined, BerkeleyDB DBM module is built and used
	Default version is BDB default in bsd.databases.mk
- Add knob WITH_BDB_BASE for BerkeleyDB 1.85 from base install
	If defined, bsd.databases.mk is NOT used and bdb comes from base
	Use of bsd.databases.mk makes WITH_BERKELEYDB obsolete

Successfully tested with APACHE20_WITH_BDB_VER or WITH_BDB_VER with values
2 3 40 41 42 43 44 45 (=all possibilities)
Comment 1 Edwin Groothuis freebsd_committer 2008-01-16 11:10:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clement

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2008-01-20 15:00:37 UTC
clement     2008-01-20 15:00:32 UTC

  FreeBSD ports repository

  Modified files:
    .                    UPDATING 
    www/apache20         Makefile Makefile.doc Makefile.modules 
  - Update to 2.0.63
  - Use BDB from bsd.database.mk instead of homebrew [1]
  PR:             ports/119712 [1]
  Submitted by:   mm [1]
  Revision  Changes    Path
  1.578     +10 -1     ports/UPDATING
  1.251     +1 -2      ports/www/apache20/Makefile
  1.20      +5 -4      ports/www/apache20/Makefile.doc
  1.25      +21 -38    ports/www/apache20/Makefile.modules
  1.73      +3 -3      ports/www/apache20/distinfo
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Clement Laforet freebsd_committer 2008-01-20 15:08:18 UTC
State Changed
From-To: open->closed

Committed, thanks!