summaryrefslogtreecommitdiff
path: root/www/mod_php5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php5/Makefile')
-rw-r--r--www/mod_php5/Makefile27
1 files changed, 15 insertions, 12 deletions
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index 2edb24ac96f8..09a291150026 100644
--- a/www/mod_php5/Makefile
+++ b/www/mod_php5/Makefile
@@ -3,20 +3,21 @@
# Date created: Wed Sep 3 18:28:20 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.46 1998/06/27 13:52:34 andreas Exp $
+# $Id: Makefile,v 1.47 1998/07/11 20:52:36 andreas Exp $
#
DISTNAME= apache_1.2.6
-PKGNAME= apache-1.2.6-php3.0.1
+PKGNAME= apache-1.2.6-php3.0.2
CATEGORIES= www
MASTER_SITES= ftp://www.apache.org/apache/dist/ \
http://ca.php.net/distributions/
-DISTFILES= apache_1.2.6.tar.gz php-3.0.1.tar.gz
+DISTFILES= apache_1.2.6.tar.gz php-3.0.2.tar.gz
MAINTAINER= andreas@FreeBSD.ORG
BUILD_DEPENDS= ${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd \
- gmake:${PORTSDIR}/devel/gmake
+ gmake:${PORTSDIR}/devel/gmake \
+ ${PREFIX}/include/freetype.h:${PORTSDIR}/print/freetype
NO_PACKAGE= "Support for different databases via make-variable"
@@ -31,11 +32,13 @@ PATCH_DIST_ARGS= -d ${WRKSRC}/src --forward --quiet -E ${PATCH_DIST_STRIP}
.endif
# Set it for local-supplied patch, f.e.
-VERS_ID = PHP-3.0.1
+VERS_ID = PHP-3.0.2
PHP3_CONF_ARGS= --prefix=${PREFIX} --with-gd=${PREFIX} \
--with-system-regex --with-apache=${WRKSRC} \
- --with-config-file-path=${PREFIX}/lib --disable-debug
+ --with-config-file-path=${PREFIX}/lib --disable-debug \
+ --libdir=${PREFIX}/lib --includedir=${PREFIX}/include
+
.if !defined(PHP3_DBTYPE) || ${PHP3_DBTYPE} != msql && ${PHP3_DBTYPE} != mysql && ${PHP3_DBTYPE} != pgsql && ${PHP3_DBTYPE} != dbase
pre-fetch:
@@ -67,18 +70,18 @@ post-patch:
.endif
pre-configure:
- ( cd ${WRKDIR}/php-3.0.1 \
- && CC="${CC}" CFLAGS="${CFLAGS}" ./configure ${PHP3_CONF_ARGS} \
+ ( cd ${WRKDIR}/php-3.0.2 \
+ && CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS=-I${PREFIX}/include ./configure ${PHP3_CONF_ARGS} \
&& ${GMAKE} install )
${ECHO} "Module php3_module mod_php3.o" >> ${WRKSRC}/src/Configuration
.if defined(PHP3_DBTYPE) && ${PHP3_DBTYPE} == msql
- ${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/lib -lmsql -lgd -lm" >> ${WRKSRC}/src/Configuration
+ ${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/lib -lmsql -lgd -lm -lttf" >> ${WRKSRC}/src/Configuration
.elif defined(PHP3_DBTYPE) && ${PHP3_DBTYPE} == mysql
- ${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/lib/mysql -lmysqlclient -L${PREFIX}/lib -I${PREFIX}/include/gd -lgd -lm" >> ${WRKSRC}/src/Configuration
+ ${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/lib/mysql -lmysqlclient -L${PREFIX}/lib -I${PREFIX}/include/gd -lgd -lm -lttf" >> ${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
+ ${ECHO} "EXTRA_LIBS=-lmd libphp3.a -L${PREFIX}/pgsql/lib -lpq -L${PREFIX}/lib -lgd -lm -lttf" >> ${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
+ ${ECHO} "EXTRA_LIBS=-lmd libphp3.a libdbf.a -L${PREFIX}/lib -lgd -lm -lttf" >> ${WRKSRC}/src/Configuration
.endif
post-install: