From owner-freebsd-ports@FreeBSD.ORG Wed Mar 4 02:53:28 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48D56106566B for ; Wed, 4 Mar 2009 02:53:28 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id B74F48FC12 for ; Wed, 4 Mar 2009 02:53:27 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 228FDEB5582 for ; Wed, 4 Mar 2009 04:28:26 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id E2AD145088 for ; Wed, 4 Mar 2009 04:28:26 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yvto7PXRVayS for ; Wed, 4 Mar 2009 04:28:26 +0200 (EET) Received: from kobe.laptop (adsl158-175.kln.forthnet.gr [62.1.61.175]) by mail.ceid.upatras.gr (Postfix) with ESMTP id B2E424503F for ; Wed, 4 Mar 2009 04:28:26 +0200 (EET) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n242SPcL042481 for ; Wed, 4 Mar 2009 04:28:25 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n242SPkP042480; Wed, 4 Mar 2009 04:28:25 +0200 (EET) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: freebsd-ports@freebsd.org Date: Wed, 04 Mar 2009 04:28:24 +0200 Message-ID: <878wnmqawn.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [PATCH] python25 broken on current X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2009 02:53:28 -0000 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 #include #include +#include #include 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.