Date: Sat, 22 Dec 2007 19:57:40 +0100 (CET) From: Thierry Thomas <thierry@pompo.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Ade Lovett <ade@FreeBSD.org> Subject: ports/118958: Mk/bsd.autotools.mk: find configure if CONFIGURE_WRKSRC != PATCH_WRKSRC. Message-ID: <20071222185740.A286C11428@graf.pompo.net> Resent-Message-ID: <200712221900.lBMJ04KT023132@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071222185740.A286C11428>