pkgsrc/mail/php-imap/Makefile
tron bf65ae59e2 Bump the package revisions of all packages that depend on the
"imap-uw" package because of binary incompatibilities.
2008-11-13 14:21:04 +00:00

30 lines
930 B
Makefile

# $NetBSD: Makefile,v 1.16 2008/11/13 14:21:05 tron Exp $
MODNAME= imap
PKGREVISION= 4
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
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.imap-uw}
CONFIGURE_ARGS+= --with-${MODNAME}-ssl=${SSLBASE}
CONFIGURE_ARGS+= --with-${MODNAME}-linkage
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.
CONFIGURE_ENV+= PHP_OPENSSL=${SSLBASE:Q}
.include "../../mail/imap-uw/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"