add mhash flavour

This commit is contained in:
jakob 2000-10-04 21:19:13 +00:00
parent 2ef981add6
commit 429f4df00e

View File

@ -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