diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-02-23 19:56:02 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-02-23 19:56:02 +0000 |
commit | 036c56ec5cca1731ef2f736c250d603fdaf66bbd (patch) | |
tree | af64203845e8c66c2bf7fe9ff19c7bc3909f2882 /databases/py-sqlrelay | |
parent | 48f133252e2e3897fc6422a3ed3437a984ba9b6d (diff) | |
download | ports-036c56ec5cca1731ef2f736c250d603fdaf66bbd.tar.gz ports-036c56ec5cca1731ef2f736c250d603fdaf66bbd.zip |
Notes
Diffstat (limited to 'databases/py-sqlrelay')
-rw-r--r-- | databases/py-sqlrelay/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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 <bsd.port.mk> |