aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_php4
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1998-06-27 21:52:34 +0800
committerandreas <andreas@FreeBSD.org>1998-06-27 21:52:34 +0800
commit8e67c44a3ea82b6494e1e188b12f87c65d2474e6 (patch)
tree9778a95aacd33ee69b7b88b4ea8bca5e6a1eae28 /www/mod_php4
parentb94cb0698304a9405919f65f413a7047e1766db1 (diff)
downloadfreebsd-ports-gnome-8e67c44a3ea82b6494e1e188b12f87c65d2474e6.tar.gz
freebsd-ports-gnome-8e67c44a3ea82b6494e1e188b12f87c65d2474e6.tar.zst
freebsd-ports-gnome-8e67c44a3ea82b6494e1e188b12f87c65d2474e6.zip
William sent patches to me so support dbase type database...
If there are any problems related to this, send him an e-mail, I can't test this ! Submitted by: William Lloyd <wlloyd@mpd.ca>
Diffstat (limited to 'www/mod_php4')
-rw-r--r--www/mod_php4/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index cd1edd56705f..d46c2e453526 100644
--- a/www/mod_php4/Makefile
+++ b/www/mod_php4/Makefile
@@ -1,9 +1,9 @@
-# New ports collection makefile for: apache HTTPD / php 2.0.1
-# Version required: 1.2.5 / 2.0.1
+# New ports collection makefile for: apache HTTPD / php
+# Version required: 1.2.6 / 3.0
# Date created: Wed Sep 3 18:28:20 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id$
+# $Id: Makefile,v 1.45 1998/06/14 09:57:32 andreas Exp $
#
DISTNAME= apache_1.2.6
@@ -37,11 +37,11 @@ PHP3_CONF_ARGS= --prefix=${PREFIX} \
--with-system-regex --with-apache=${WRKSRC} \
--with-config-file-path=${PREFIX}/lib --disable-debug
-.if !defined(PHP3_DBTYPE) || ${PHP3_DBTYPE} != msql && ${PHP3_DBTYPE} != mysql && ${PHP3_DBTYPE} != pgsql
+.if !defined(PHP3_DBTYPE) || ${PHP3_DBTYPE} != msql && ${PHP3_DBTYPE} != mysql && ${PHP3_DBTYPE} != pgsql && ${PHP3_DBTYPE} != dbase
pre-fetch:
@ ${ECHO}
@ ${ECHO} "You must set variable PHP3_DBTYPE to msql, mysql or pgsql by typing"
- @ ${ECHO} "make PHP3_DBTYPE=[ msql | mysql | pgsql ]"
+ @ ${ECHO} "make PHP3_DBTYPE=[ dbase | msql | mysql | pgsql ]"
@ ${FALSE}
.elif defined(PHP3_DBTYPE)
.if ${PHP3_DBTYPE} == msql
@@ -53,6 +53,8 @@ PHP3_CONF_ARGS+= --with-mysql=${PREFIX}
.elif ${PHP3_DBTYPE} == pgsql
BUILD_DEPENDS+= ${PREFIX}/pgsql/bin/psql:${PORTSDIR}/databases/postgresql
PHP3_CONF_ARGS+= --with-pgsql=${PREFIX}/pgsql
+.elif ${PHP3_DBTYPE} == dbase
+PHP3_CONF_ARGS+= --with-dbase
.endif
.endif
@@ -75,6 +77,8 @@ pre-configure:
${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/lib/mysql -lmysqlclient -L${PREFIX}/lib -lgd -lm" >> ${WRKSRC}/src/Configuration
.elif defined(PHP3_DBTYPE) && ${PHP3_DBTYPE} == pgsql
${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/pgsql/lib -lpq -L${PREFIX}/lib -lgd -lm" >> ${WRKSRC}/src/Configuration
+.elif defined(PHP3_DBTYPE) && ${PHP3_DBTYPE} == dbase
+ ${ECHO} "EXTRA_LIBS=-lmd libphp3.a libdbf.a -L${PREFIX}/lib -lgd -lm" >> ${WRKSRC}/src/Configuration
.endif
post-install: