aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1997-09-04 02:49:53 +0800
committerandreas <andreas@FreeBSD.org>1997-09-04 02:49:53 +0800
commitb0fbe7152c3e9dfdabd328a73090d72fb2aa3d13 (patch)
tree26c50aa0da350bc7136bda6ff17a7a3336b387d7 /www
parentd7dd0c0e1b95c5793c2544097722f9e8393d436a (diff)
downloadfreebsd-ports-gnome-b0fbe7152c3e9dfdabd328a73090d72fb2aa3d13.tar.gz
freebsd-ports-gnome-b0fbe7152c3e9dfdabd328a73090d72fb2aa3d13.tar.zst
freebsd-ports-gnome-b0fbe7152c3e9dfdabd328a73090d72fb2aa3d13.zip
Included DB LIB dependency when patching apaches Configuration
file ... Not tested ... but necessary ... as I said "work in progress"
Diffstat (limited to 'www')
-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: