summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-09-03 18:49:53 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1997-09-03 18:49:53 +0000
commitb6235acf4b6dbd1606e77183363f7350594fa9a5 (patch)
tree40e2196a754507714d2ee45fd4e380df3e7d46c6
parentApache 1.2.1 + PHP support (diff)
Included DB LIB dependency when patching apaches Configuration
file ... Not tested ... but necessary ... as I said "work in progress"
Notes
Notes: svn path=/head/; revision=7765
-rw-r--r--www/mod_php3/Makefile6
-rw-r--r--www/mod_php4/Makefile6
-rw-r--r--www/mod_php5/Makefile6
3 files changed, 15 insertions, 3 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile
index 81f04ae3aa0d..ecd7cf8e2d56 100644
--- a/www/mod_php3/Makefile
+++ b/www/mod_php3/Makefile
@@ -3,7 +3,7 @@
# Date created: Wed Sep 3 18:28:20 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id$
+# $Id: Makefile,v 1.39 1997/09/03 18:45:12 andreas Exp $
#
DISTNAME= apache_1.2.1
@@ -63,7 +63,11 @@ pre-configure:
( cd ${WRKDIR}/apache_1.2.1/src \
&& echo "Module php_module mod_php.o" \
>> Configuration \
+.if ${PHP_DBTYPE} == msql
&& echo "EXTRA_LIBS=-lmd libphp.a -L/usr/local/lib -lmsql -lgd -lm" \
+.else
+ && echo "EXTRA_LIBS=-lmd libphp.a -L/usr/local/lib/mysql -lmysql -L/usr/local/lib -lgd -lm" \
+.endif
>> Configuration )
post-install:
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index 81f04ae3aa0d..ecd7cf8e2d56 100644
--- a/www/mod_php4/Makefile
+++ b/www/mod_php4/Makefile
@@ -3,7 +3,7 @@
# Date created: Wed Sep 3 18:28:20 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id$
+# $Id: Makefile,v 1.39 1997/09/03 18:45:12 andreas Exp $
#
DISTNAME= apache_1.2.1
@@ -63,7 +63,11 @@ pre-configure:
( cd ${WRKDIR}/apache_1.2.1/src \
&& echo "Module php_module mod_php.o" \
>> Configuration \
+.if ${PHP_DBTYPE} == msql
&& echo "EXTRA_LIBS=-lmd libphp.a -L/usr/local/lib -lmsql -lgd -lm" \
+.else
+ && echo "EXTRA_LIBS=-lmd libphp.a -L/usr/local/lib/mysql -lmysql -L/usr/local/lib -lgd -lm" \
+.endif
>> Configuration )
post-install:
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index 81f04ae3aa0d..ecd7cf8e2d56 100644
--- a/www/mod_php5/Makefile
+++ b/www/mod_php5/Makefile
@@ -3,7 +3,7 @@
# Date created: Wed Sep 3 18:28:20 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id$
+# $Id: Makefile,v 1.39 1997/09/03 18:45:12 andreas Exp $
#
DISTNAME= apache_1.2.1
@@ -63,7 +63,11 @@ pre-configure:
( cd ${WRKDIR}/apache_1.2.1/src \
&& echo "Module php_module mod_php.o" \
>> Configuration \
+.if ${PHP_DBTYPE} == msql
&& echo "EXTRA_LIBS=-lmd libphp.a -L/usr/local/lib -lmsql -lgd -lm" \
+.else
+ && echo "EXTRA_LIBS=-lmd libphp.a -L/usr/local/lib/mysql -lmysql -L/usr/local/lib -lgd -lm" \
+.endif
>> Configuration )
post-install: