From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 28 10:40:01 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6EB816A41F for ; Sat, 28 Jul 2007 10:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A708A13C494 for ; Sat, 28 Jul 2007 10:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6SAe1rh056875 for ; Sat, 28 Jul 2007 10:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6SAe189056874; Sat, 28 Jul 2007 10:40:01 GMT (envelope-from gnats) Resent-Date: Sat, 28 Jul 2007 10:40:01 GMT Resent-Message-Id: <200707281040.l6SAe189056874@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Benno Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33F7616A418 for ; Sat, 28 Jul 2007 10:33:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1FA5913C4D3 for ; Sat, 28 Jul 2007 10:33:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l6SAXdal021957 for ; Sat, 28 Jul 2007 10:33:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l6SAXdon021956; Sat, 28 Jul 2007 10:33:39 GMT (envelope-from nobody) Message-Id: <200707281033.l6SAXdon021956@www.freebsd.org> Date: Sat, 28 Jul 2007 10:33:39 GMT From: Benno To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/114989: [patch] automake16 doesn't build because of autoconf261 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2007 10:40:01 -0000 >Number: 114989 >Category: ports >Synopsis: [patch] automake16 doesn't build because of autoconf261 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 28 10:40:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Benno >Release: 6.2-RELEASE >Organization: >Environment: FreeBSD freebsd6.internal.hatchan.nl 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: When trying to build automake16 it will build autoconf261 if its not installed. After its installed it will give the following error: 'configure: error: Autoconf 2.52 or better is required' When building autoconf261 it doesn't add a '-' to the suffix (like autoconf259 or autoconf253 do). So it installs the executables as *2.61 instead of *-2.61 (ex: autoconf2.61 instead of autoconf-2.61) Also some help files and uninstall scripts don't work because of this. >How-To-Repeat: Uninstall any autoconf and/or automake packages cd /usr/ports/devel/automake16/ make install clean >Fix: --- Makefile.old Sat Jul 28 12:06:12 2007 +++ Makefile Sat Jul 28 12:06:55 2007 @@ -7,7 +7,7 @@ PORTNAME= autoconf PORTVERSION= 2.61 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= autoconf @@ -31,7 +31,7 @@ GNU_CONFIGURE= yes CONFIGURE_ENV+= CONFIG_SHELL=${SH} M4=${LOCALBASE}/bin/gm4 -CONFIGURE_ARGS= --program-suffix=${BUILD_VERSION} --without-lispdir +CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION} --without-lispdir CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} GENERIC_TOOLS= config.guess config.sub elisp-comp install-sh mdate-sh missing @@ -42,11 +42,11 @@ MAN1= ${MAN1_PAGES:S/$/-${BUILD_VERSION}.1/g} post-patch: - @(cd ${WRKSRC} && ${REINPLACE_CMD} -E 's,(PACKAGE=autoconf),\1${BUILD_VERSION},' configure) + @(cd ${WRKSRC} && ${REINPLACE_CMD} -E 's,(PACKAGE=autoconf),\1-${BUILD_VERSION},' configure) @(cd ${WRKSRC}/man && \ for file in *.[1x]; do \ - ${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2${BUILD_VERSION},g ; \ - s,(config\.guess|config\.sub|ifnames),\1${BUILD_VERSION},g' $$file ; \ + ${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2-${BUILD_VERSION},g ; \ + s,(config\.guess|config\.sub|ifnames),\1-${BUILD_VERSION},g' $$file ; \ done) @(cd ${WRKSRC}/doc && \ ${RM} -f *.info && \ >Release-Note: >Audit-Trail: >Unformatted: