aboutsummaryrefslogtreecommitdiff
path: root/www/mod_php4
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 /www/mod_php4
parent18685d01780a8d59e2697807e3d6710e85d777e8 (diff)
downloadports-b6235acf4b6dbd1606e77183363f7350594fa9a5.tar.gz
ports-b6235acf4b6dbd1606e77183363f7350594fa9a5.zip
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
Diffstat (limited to 'www/mod_php4')
-rw-r--r--www/mod_php4/Makefile6
1 files changed, 5 insertions, 1 deletions
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: