From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 22 19:00:04 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 57EF516A469 for ; Sat, 22 Dec 2007 19:00:04 +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 4F09C13C45B for ; Sat, 22 Dec 2007 19:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBMJ04Fn023133 for ; Sat, 22 Dec 2007 19:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBMJ04KT023132; Sat, 22 Dec 2007 19:00:04 GMT (envelope-from gnats) Resent-Date: Sat, 22 Dec 2007 19:00:04 GMT Resent-Message-Id: <200712221900.lBMJ04KT023132@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, Thierry Thomas Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F413816A419 for ; Sat, 22 Dec 2007 18:57:46 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from emma.lautre.net (emma.lautre.net [80.67.160.69]) by mx1.freebsd.org (Postfix) with ESMTP id 9261413C474 for ; Sat, 22 Dec 2007 18:57:46 +0000 (UTC) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id A286C11428; Sat, 22 Dec 2007 19:57:40 +0100 (CET) Message-Id: <20071222185740.A286C11428@graf.pompo.net> Date: Sat, 22 Dec 2007 19:57:40 +0100 (CET) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Ade Lovett Subject: ports/118958: Mk/bsd.autotools.mk: find configure if CONFIGURE_WRKSRC != PATCH_WRKSRC. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 19:00:04 -0000 >Number: 118958 >Category: ports >Synopsis: Mk/bsd.autotools.mk: find configure if CONFIGURE_WRKSRC != PATCH_WRKSRC. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Dec 22 19:00:03 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 7.0-BETA4 i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Sun Dec 16 14:52:28 CET 2007 thierry@graf.pompo.net:/usr/obj/usr/src/sys/GRAF071102 i386 >Description: I'm updating the port cad/opencascade, and I have to replace GNU_CONFIGURE by "USE_AUTOTOOLS= libtool:15", but this change causes the following error: cp: configure: No such file or directory *** Error code 1 >How-To-Repeat: Try to use libtool in a port having CONFIGURE_WRKSRC != PATCH_WRKSRC. >Fix: Please consider the following patch: --- bsd.autotools.mk.diff begins here --- --- Mk/bsd.autotools.mk.orig 2007-07-31 21:32:46.000000000 +0200 +++ Mk/bsd.autotools.mk 2007-12-22 19:28:19.000000000 +0100 @@ -303,7 +303,7 @@ .if !target(patch-autotools) patch-autotools:: . if defined(AUTOTOOL_libtool) - @(cd ${PATCH_WRKSRC}; \ + @(cd ${CONFIGURE_WRKSRC}; \ for file in ${LIBTOOLFILES}; do \ ${CP} $$file $$file.tmp; \ ${SED} -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LTMAIN}^g" \ --- bsd.autotools.mk.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: