Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2016 01:43:41 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Ruslan Makhmatkhanov <rm@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r407217 - head/net/py-ldap
Message-ID:  <56A6349D.20304@FreeBSD.org>
In-Reply-To: <201601251439.u0PEdcSQ022505@repo.freebsd.org>
References:  <201601251439.u0PEdcSQ022505@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26/01/2016 1:39 AM, Ruslan Makhmatkhanov wrote:
> Author: rm
> Date: Mon Jan 25 14:39:37 2016
> New Revision: 407217
> URL: https://svnweb.freebsd.org/changeset/ports/407217
> 
> Log:
>   net/py-ldap: sync with py-ldap
>   
>   - convert to option helpers
>   - add conflicts with py27-pyldap: they install files into the same place
>   
>   These changes are non-functional, so no PORTREVISION bump.

What about in order for pkg to register the new conflict?

I'm not 100% sure, but I thought I'd ask the question

Btw, *awesome* use of Python setopt/saveopts

> Modified:
>   head/net/py-ldap/Makefile
> 
> Modified: head/net/py-ldap/Makefile
> ==============================================================================
> --- head/net/py-ldap/Makefile	Mon Jan 25 14:36:14 2016	(r407216)
> +++ head/net/py-ldap/Makefile	Mon Jan 25 14:39:37 2016	(r407217)
> @@ -15,25 +15,23 @@ LICENSE_FILE=	${WRKSRC}/LICENCE
>  
>  RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyasn1-modules>0:${PORTSDIR}/devel/py-pyasn1-modules
>  
> +CONFLICTS_INSTALL=	py27-pyldap
>  USES=		python:2
>  USE_PYTHON=	autoplist distutils
> -USE_OPENLDAP=		yes
> +USE_OPENLDAP=	yes
>  WANT_OPENLDAP_VER=	24
> -OPTIONS_DEFINE=	SASL
>  
> -.include <bsd.port.options.mk>
> +OPTIONS_DEFINE=	SASL
>  
> -.if ${PORT_OPTIONS:MSASL}
> -WANT_OPENLDAP_SASL=	yes
> -CONFLICTS+=		openldap24-client-2.*
> -.endif
> +SASL_VARS=	WANT_OPENLDAP_SASL=yes
> +SASL_CONFLICTS=	openldap24-client-2.*
>  
>  do-configure:
>  	@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' ${WRKSRC}/setup.cfg
> -.if ! ${PORT_OPTIONS:MSASL}
> +
> +do-configure-SASL-off:
>  	@cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q setopt -c _ldap -s HAVE_TLS -o defines
>  	@cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q saveopts
> -.endif
>  
>  post-install:
>  	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_ldap.so
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56A6349D.20304>