summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2003-02-20 10:02:44 +0000
committerache <ache@FreeBSD.org>2003-02-20 10:02:44 +0000
commit369b711eff95f8572ea6a8ec93eb9fc44c555b91 (patch)
treecfa9a2f04e4b5b9d069d830d5c746d48b6bdd8d0
parente87c58e11da0d997507e41242674e0ede810bfc6 (diff)
downloadFreeBSD-ports-369b711eff95f8572ea6a8ec93eb9fc44c555b91.zip
FreeBSD-ports-369b711eff95f8572ea6a8ec93eb9fc44c555b91.tar.gz
Don't even try to sense Berkeley DB2/DB3 (from /usr/local), it
completely breaks passwd functions.
-rw-r--r--www/apache13/Makefile2
-rw-r--r--www/apache13/files/patch-ac31
2 files changed, 32 insertions, 1 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile
index b9b47dd..68d303f 100644
--- a/www/apache13/Makefile
+++ b/www/apache13/Makefile
@@ -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/ \
diff --git a/www/apache13/files/patch-ac b/www/apache13/files/patch-ac
new file mode 100644
index 0000000..f4f02e8
--- /dev/null
+++ b/www/apache13/files/patch-ac
@@ -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" \
OpenPOWER on IntegriCloud