From 429f4df00e9e7a1e04aaba4d04f8e1503ea06dd7 Mon Sep 17 00:00:00 2001 From: jakob Date: Wed, 4 Oct 2000 21:19:13 +0000 Subject: [PATCH] add mhash flavour --- www/php4/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/www/php4/Makefile b/www/php4/Makefile index 62255c83700..ad160444923 100644 --- a/www/php4/Makefile +++ b/www/php4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2000/09/28 20:39:24 jakob Exp $ +# $OpenBSD: Makefile,v 1.5 2000/10/04 21:19:13 jakob Exp $ DISTNAME= php-4.0.2 PKGNAME= php4-4.0.2 @@ -43,7 +43,7 @@ CONFIGURE_ARGS+= --with-apxs=/usr/sbin/apxs \ --with-xml \ --with-zlib -FLAVORS+= gdbm gettext ftp imap mm recode snmp gd no_x11 pdflib +FLAVORS+= gdbm gettext ftp imap mhash mm recode snmp gd no_x11 pdflib FLAVORS+= dbase filepro mysql mysql_bundled postgresql FLAVOR?= @@ -74,6 +74,13 @@ BUILD_DEPENDS+= ${PREFIX}/lib/libc-client.a::mail/c-client CONFIGURE_ARGS+= --without-imap .endif +.if ${FLAVOR:L:Mmhash} +CONFIGURE_ARGS+= --with-mhash +BUILD_DEPENDS+= ${PREFIX}/lib/libmhash.a::devel/mhash +.else +CONFIGURE_ARGS+= --without-mhash +.endif + .if ${FLAVOR:L:Mmm} CONFIGURE_ARGS+= --with-mm BUILD_DEPENDS+= ${PREFIX}/lib/libmm.a::devel/mm