pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/php-imap actually support linking against kerbero...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6f7dccd72ca3
branches:  trunk
changeset: 375603:6f7dccd72ca3
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Fri Feb 16 22:21:25 2018 +0000

description:
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:

 mail/php-imap/Makefile |  16 +++-------------
 1 files changed, 3 insertions(+), 13 deletions(-)

diffs (37 lines):

diff -r 372d87e3e8c7 -r 6f7dccd72ca3 mail/php-imap/Makefile
--- a/mail/php-imap/Makefile    Fri Feb 16 22:06:58 2018 +0000
+++ b/mail/php-imap/Makefile    Fri Feb 16 22:21:25 2018 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index