aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: