[bind10-dev] FreeBSD port for BIND 10 available for testing
Jeremy C. Reed
jreed at isc.org
Fri Sep 30 17:19:53 UTC 2011
On Fri, 30 Sep 2011, Dan Mahoney wrote:
> ===> Returning to build of botan-1.8.11
> ===> Configuring for botan-1.8.11
> File "./configure.py", line 613
> except KeyError, e:
> ^
> SyntaxError: invalid syntax
> ===> Script "configure.py" failed unexpectedly.
I don't find any easy way to fix botan port (even though I thought it
would be very simple) ... I opened a bug report with FreeBSD ports. For
now, please consider trying the following patch for
ports/security/botan/Makefile. (Note I set to 2.6 since that is what I
have installed on two systems, but maybe you can set to 2.7 if you have
that. I did attempt to get it to autodetect, but didn't solve that yet.)
--- Makefile.orig 2011-09-30 16:15:03.000000000 +0000
+++ Makefile 2011-09-30 16:15:43.000000000 +0000
@@ -24,7 +24,8 @@
ECC "Enable ECC support" on
USE_BZIP2= yes
-USE_PYTHON_BUILD= yes
+USE_PYTHON_BUILD= 2.4-2.7
+PYTHON_VERSION=2.6
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.py
CONFIGURE_ARGS= --prefix=${PREFIX} --with-tr1-implementation=boost \
@@ -57,8 +58,10 @@
CONFIGURE_ARGS+=--with-tr1-implementation=none
.endif
-.if defined(NOPORTDOCS)
post-patch:
+ ${REINPLACE_CMD} -e "s|#!/usr/bin/env python|#!${PYTHON_CMD}|" \
+ ${WRKSRC}/configure.py
+.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e '/$$(MKDIR_INSTALL) $$(DOCDIR)/d' \
-e '/$$(INSTALL_CMD_DATA) $$$$i $$(DOCDIR); /d' \
${WRKSRC}/src/build-data/makefile/unix_shr.in
More information about the bind10-users
mailing list