pkgsrc/mail/php-imap/Makefile
sborrill 84cc8d5c1b Fix memory leak and pullup bug fix for http://bugs.php.net/bug.php?id=46918
Remove this patch when PHP >= 5.2.9 is released as it will contain these
changes

Bump PKGREVISION of php-imap
2009-02-25 08:59:47 +00:00

41 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2009/02/25 08:59:47 sborrill Exp $
MODNAME= imap
PKGREVISION= 5
CATEGORIES+= mail
COMMENT= PHP extension for IMAP (Internet Mailbox Access Protocol)
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS= php-imap-[0-9]*
USE_PHP_EXT_PATCHES= yes
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.imap-uw}
CONFIGURE_ARGS+= --with-${MODNAME}-linkage
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --with-${MODNAME}-ssl=yes
.else
CONFIGURE_ARGS+= --with-${MODNAME}-ssl=${SSLBASE}
.endif
CONFIGURE_ENV+= ac_cv_lib_pam_pam_start=no
# Imap extension's config.m4 calls m4 macro PHP_SETUP_OPENSSL() which
# expects PHP_ARG_WITH(openssl, ...) being called beforehand so that
# PHP_OPENSSL is set. For a self contained extension build like for
# this package this is not the case of course.
.if ${OPSYS} == "SunOS"
CONFIGURE_ENV+= PHP_OPENSSL=yes
.else
CONFIGURE_ENV+= PHP_OPENSSL=${SSLBASE:Q}
.endif
.include "../../mail/imap-uw/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"