1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Don't even try to sense Berkeley DB2/DB3 (from /usr/local), it

completely breaks passwd functions.
This commit is contained in:
Andrey A. Chernov 2003-02-20 10:02:44 +00:00
parent 00a3cacc2f
commit 842c89048e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75932
2 changed files with 32 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= apache
PORTVERSION= 1.3.27
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= http://www.apache.org/dist/httpd/ \
ftp://ftp.ccs.neu.edu/net/mirrors/ftp.apache.org/apache/dist/httpd/ \

View File

@ -0,0 +1,31 @@
--- src/modules/standard/mod_auth_db.module.bak Tue Oct 16 13:12:02 2001
+++ src/modules/standard/mod_auth_db.module Thu Feb 20 12:55:19 2003
@@ -4,23 +4,23 @@
DB_LIB=''
if ./helpers/TestCompile func db_create; then
DB_VERSION='Berkeley-DB/3.x'
- elif ./helpers/TestCompile lib db db_create; then
+ elif ./helpers/TestCompile lib dbXXX db_create; then
DB_VERSION='Berkeley-DB/3.x'
DB_LIB='-ldb'
elif ./helpers/TestCompile func db_open; then
DB_VERSION='Berkeley-DB/2.x'
- elif ./helpers/TestCompile lib db db_open; then
+ elif ./helpers/TestCompile lib dbXXX db_open; then
DB_VERSION='Berkeley-DB/2.x'
DB_LIB='-ldb'
- elif ./helpers/TestCompile lib db2 db_open; then
+ elif ./helpers/TestCompile lib db2XXX db_open; then
DB_VERSION='Berkeley-DB/2.x'
DB_LIB='-ldb2'
elif ./helpers/TestCompile func dbopen; then
DB_VERSION='Berkeley-DB/1.x'
- elif ./helpers/TestCompile lib db dbopen; then
+ elif ./helpers/TestCompile lib dbXXX dbopen; then
DB_VERSION='Berkeley-DB/1.x'
DB_LIB='-ldb'
- elif ./helpers/TestCompile lib db1 dbopen; then
+ elif ./helpers/TestCompile lib db1XXX dbopen; then
DB_VERSION='Berkeley-DB/1.x'
DB_LIB='-ldb1'
elif TCADDINCL='#include <db.h>' INCLUDES1="$INCLUDES1 -I/usr/include/db1" TLIB="-ldb1" \