Reported and patch from Nigel Taylor (thanks).

Modified PLIST, removed PFRAG.python2.6-main and added PFRAG.python2.7-main.
I added MODPY_WANTLIB to WANTLIB.
This commit is contained in:
rpointel 2011-06-12 09:02:32 +00:00
parent d1eb1f889c
commit e292c0d741
4 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.28 2011/06/10 05:48:35 rpointel Exp $
# $OpenBSD: Makefile,v 1.29 2011/06/12 09:02:32 rpointel Exp $
SHARED_ONLY= Yes
@ -8,7 +8,7 @@ COMMENT-examples= example programs for the LDAP client API for Python
V= 2.3.1
DISTNAME= python-ldap-${V}
PKGNAME-main= py-ldap-${V}
REVISION-main = 7
REVISION-main = 8
FULLPKGNAME-examples= py-ldap-examples-${V}
REVISION-examples = 8
FULLPKGPATH-examples= databases/py-ldap,-examples
@ -23,7 +23,7 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
WANTLIB-main= crypto ssl
WANTLIB-main= crypto ssl ${MODPY_WANTLIB}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-ldap/}

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.python2.6-main,v 1.1 2010/09/03 12:34:55 sthen Exp $
@pkgpath databases/py-ldap,-main,python2.5

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.python2.7-main,v 1.1 2011/06/12 09:02:32 rpointel Exp $
@pkgpath databases/py-ldap,-main[,python2.5][,python2.6]

View File

@ -1,8 +1,8 @@
@comment $OpenBSD: PLIST-main,v 1.4 2010/09/03 12:34:55 sthen Exp $
@comment $OpenBSD: PLIST-main,v 1.5 2011/06/12 09:02:32 rpointel Exp $
@option no-default-conflict
@conflict py-ldap-*-python${MODPY_VERSION}
@pkgpath databases/py-ldap
%%python2.6%%
%%python2.7%%
lib/python${MODPY_VERSION}/site-packages/_ldap.so
lib/python${MODPY_VERSION}/site-packages/dsml.py
lib/python${MODPY_VERSION}/site-packages/dsml.pyc