diff options
author | andreas <andreas@FreeBSD.org> | 1997-09-03 18:49:53 +0000 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1997-09-03 18:49:53 +0000 |
commit | b0fbe7152c3e9dfdabd328a73090d72fb2aa3d13 (patch) | |
tree | 26c50aa0da350bc7136bda6ff17a7a3336b387d7 /www/mod_php5 | |
parent | d7dd0c0e1b95c5793c2544097722f9e8393d436a (diff) | |
download | FreeBSD-ports-b0fbe7152c3e9dfdabd328a73090d72fb2aa3d13.zip FreeBSD-ports-b0fbe7152c3e9dfdabd328a73090d72fb2aa3d13.tar.gz |
Included DB LIB dependency when patching apaches Configuration
file ... Not tested ... but necessary ... as I said "work in
progress"
Diffstat (limited to 'www/mod_php5')
-rw-r--r-- | www/mod_php5/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile index 81f04ae..ecd7cf8 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: |