diff options
Diffstat (limited to 'www/mod_php3/Makefile')
-rw-r--r-- | www/mod_php3/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile index 81f04ae3aa0..ecd7cf8e2d5 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: |