summaryrefslogtreecommitdiff
path: root/mail/php-imap
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2018-02-16 22:21:25 +0000
committerjdolecek <jdolecek@pkgsrc.org>2018-02-16 22:21:25 +0000
commit868c51eea44bedfe62baaccfeaef43c46f3a0f13 (patch)
tree7d3a9c8395e2555e3624585c7bcc47c38634d1d0 /mail/php-imap
parent4f8bc2b77fb2327c4b75a003ad2a1b578d17c8ae (diff)
downloadpkgsrc-868c51eea44bedfe62baaccfeaef43c46f3a0f13.tar.gz
actually support linking against kerberos-enabled imap-uw
use same PKG_OPTIONS_VAR as imap-uw to determine whether the build needs to include kerberos support; this makes this extension actually build against such imap-uw bump PKGREVISION
Diffstat (limited to 'mail/php-imap')
-rw-r--r--mail/php-imap/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/mail/php-imap/Makefile b/mail/php-imap/Makefile
index 4a82099c20c..5d36496819b 100644
--- a/mail/php-imap/Makefile
+++ b/mail/php-imap/Makefile
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.31 2016/04/02 09:05:23 taca Exp $
+# $NetBSD: Makefile,v 1.32 2018/02/16 22:21:25 jdolecek Exp $
MODNAME= imap
CATEGORIES+= mail
COMMENT= PHP extension for IMAP (Internet Mailbox Access Protocol)
+PKGREVISION= 1
CONFLICTS= php-imap-[0-9]*
-USE_PHP_EXT_PATCHES= yes
-
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.imap-uw}
@@ -15,16 +14,7 @@ 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.SunOS+= PHP_OPENSSL=yes
-CONFIGURE_ENV.*+= PHP_OPENSSL=${SSLBASE:Q}
-CONFIGURE_ARGS.SunOS+= --with-${MODNAME}-ssl=yes
-CONFIGURE_ARGS.*+= --with-${MODNAME}-ssl=${SSLBASE}
-
+.include "options.mk"
.include "../../mail/imap-uw/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"