From 036c56ec5cca1731ef2f736c250d603fdaf66bbd Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sat, 23 Feb 2002 19:56:02 +0000 Subject: Update SQLRelay to 0.30. --- databases/py-sqlrelay/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'databases/py-sqlrelay') diff --git a/databases/py-sqlrelay/Makefile b/databases/py-sqlrelay/Makefile index 90df4834b65b..ff13b35b94aa 100644 --- a/databases/py-sqlrelay/Makefile +++ b/databases/py-sqlrelay/Makefile @@ -14,10 +14,11 @@ DISTFILES= # none MAINTAINER= knu@FreeBSD.org -BUILD_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:configure +BUILD_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:patch LIB_DEPENDS= sqlrclient.0:${SQLRELAY_PORTDIR} USE_PYTHON= yes +PYTHON_VERSION?= python2.1 WRKSRC= ${WRKDIR}/${PORTNAME} BUILD_WRKSRC= ${WRKSRC}/src/api/python @@ -32,5 +33,11 @@ CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \ do-extract: ${MKDIR} ${WRKDIR} ${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC} + ${RM} -f ${WRKSRC}/config.cache + +post-patch: + ${PERL} -i -p \ + -e 's,"1\.5" "1\.6" "2\.0" "2\.1",${PYTHON_VERSION:S/^python//},g;' \ + ${WRKSRC}/configure .include -- cgit v1.2.3