diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-01-12 15:33:18 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-01-12 15:33:18 +0000 |
commit | 7b7cedc0c61eababb03322a05a0e4ed7fc5db621 (patch) | |
tree | 8f4f045538393496b6216ab2106434b3915bc057 /databases/metakit | |
parent | 7ee83d6ad2cd473a714dfb91fb61f118142930db (diff) | |
download | FreeBSD-ports-7b7cedc0c61eababb03322a05a0e4ed7fc5db621.zip FreeBSD-ports-7b7cedc0c61eababb03322a05a0e4ed7fc5db621.tar.gz |
- Fix include patch for Python != 2.1
- still boken for python2.2
Diffstat (limited to 'databases/metakit')
-rw-r--r-- | databases/metakit/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile index d9405a6..abc9f5b 100644 --- a/databases/metakit/Makefile +++ b/databases/metakit/Makefile @@ -58,10 +58,16 @@ PLIST_SUB+= WITH_TCL="" PLIST_SUB+= WITH_TCL="@comment " .endif +.include <bsd.port.pre.mk> + pre-patch: @${PERL5} -pi -e "s/= tclsh/=tclsh${TCL_V}/" \ ${WRKSRC}/../unix/Makefile.in @${PERL5} -pi -e "s=doc/==" ${WRKSRC}/../MetaKit.html +.if defined(METAKIT_WITH_PYTHON) + ${PERL5} -pi -e "s=python2.1=${PYTHON_VERSION}=" \ + ${WRKSRC}/../unix/Makefile.in +.endif post-install: .if defined(METAKIT_WITH_PYTHON) @@ -83,4 +89,4 @@ test: ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test-tcl) .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |