summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1998-06-27 13:52:34 +0000
committerandreas <andreas@FreeBSD.org>1998-06-27 13:52:34 +0000
commit8e67c44a3ea82b6494e1e188b12f87c65d2474e6 (patch)
tree9778a95aacd33ee69b7b88b4ea8bca5e6a1eae28 /www
parentb94cb0698304a9405919f65f413a7047e1766db1 (diff)
downloadFreeBSD-ports-8e67c44a3ea82b6494e1e188b12f87c65d2474e6.zip
FreeBSD-ports-8e67c44a3ea82b6494e1e188b12f87c65d2474e6.tar.gz
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')
-rw-r--r--www/mod_php3/Makefile14
-rw-r--r--www/mod_php4/Makefile14
-rw-r--r--www/mod_php5/Makefile14
3 files changed, 27 insertions, 15 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile
index cd1edd5..d46c2e4 100644
--- a/www/mod_php3/Makefile
+++ b/www/mod_php3/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:
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index cd1edd5..d46c2e4 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:
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index cd1edd5..d46c2e4 100644
--- a/www/mod_php5/Makefile
+++ b/www/mod_php5/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:
OpenPOWER on IntegriCloud