Date: Wed, 04 Mar 2009 04:28:24 +0200 From: Giorgos Keramidas <keramida@freebsd.org> To: freebsd-ports@freebsd.org Subject: [PATCH] python25 broken on current Message-ID: <878wnmqawn.fsf@kobe.laptop>
next in thread | raw e-mail | index | archive | help
The lang/python25 port fails to build on CURRENT from: FreeBSD 8.0-CURRENT #0: Sun Mar 1 09:36:35 EET 2009 build@kobe:/usr/obj/usr/src/sys/KOBE Apparently, the `configure.in' script of Python is missing a header file in one of the custom check programs, which I could work around by patching its `configure.in' script: root@kobe:/usr/ports/lang/python25# more files/patch-configure.in --- configure.in.orig 2009-03-04 04:01:25.000000000 +0200 +++ configure.in 2009-03-04 04:00:45.000000000 +0200 @@ -2533,6 +2533,7 @@ #include <netdb.h> #include <string.h> #include <sys/socket.h> +#include <arpa/inet.h> #include <netinet/in.h> main() root@kobe:/usr/ports/lang/python25# But I don't know enough about Ports to make ports/lang/python25/Makefile run autoconf on configure.in before trying to `make configure'. I tried patching the port Makefile with: root@kobe:/usr/ports/lang/python25# diff -u Makefile.orig Makefile --- Makefile.orig 2009-03-04 04:26:51.000000000 +0200 +++ Makefile 2009-03-04 04:25:17.000000000 +0200 @@ -26,6 +26,9 @@ INSTALL_TARGET= altinstall MAN1= ${PYTHON_VERSION}.1 +USE_AUTOTOOLS= autoconf:262:env +AUTOCONF_ARGS= ${CONFIGURE_SCRIPT}.in +GNU_CONFIGURE= yes USE_PYTHON= yes PYTHON_VERSION= python2.5 PYTHON_NO_DEPENDS= yes root@kobe:/usr/ports/lang/python25# But this doesn't seem to work as I expected. If I manually invoke `autoconf-2.62' in the WRKSRC directory of the port and then `make configure' it builds fine.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?878wnmqawn.fsf>