aboutsummaryrefslogtreecommitdiff
path: root/net/py-ldap2/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-01-25 06:26:39 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-01-25 06:26:39 +0000
commit4607cf5c1eb4a5fdbfe3bfc049bbd39b01909fbf (patch)
tree774d3f7b2edf6071b9624d6f79fec96113121234 /net/py-ldap2/Makefile
parent9dc2701dc4e3e9521499df55e85abfa669de6075 (diff)
downloadports-4607cf5c1eb4a5fdbfe3bfc049bbd39b01909fbf.tar.gz
ports-4607cf5c1eb4a5fdbfe3bfc049bbd39b01909fbf.zip
Notes
Diffstat (limited to 'net/py-ldap2/Makefile')
-rw-r--r--net/py-ldap2/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/py-ldap2/Makefile b/net/py-ldap2/Makefile
index b4f6c00a6caa..3dbf2cf0e078 100644
--- a/net/py-ldap2/Makefile
+++ b/net/py-ldap2/Makefile
@@ -6,8 +6,8 @@
PORTNAME= ldapmodule
PORTVERSION= 1.10alpha3
-PORTREVISION= 3
-CATEGORIES= net
+PORTREVISION= 4
+CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= python-ldap
DISTNAME= python-ldap-${PORTVERSION}-src
@@ -15,13 +15,13 @@ DISTNAME= python-ldap-${PORTVERSION}-src
MAINTAINER= dinoex@FreeBSD.org
LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap
-BUILD_DEPENDS= python:${PORTSDIR}/lang/python
-RUN_DEPENDS= python:${PORTSDIR}/lang/python
-# BROKEN for python 2.2
-PYTHON_VERSION= python2.1
+USE_PYTHON= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
+CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} --with-python=${PYTHON_CMD}
WRKSRC= ${WRKDIR}/${DISTNAME:S=-src==}
+pre-configure:
+ @${CP} ${FILESDIR}/Makefile.pre.in ${WRKSRC}/Misc/Makefile.python-1.4
+
.include <bsd.port.mk>