From owner-freebsd-ports Tue Oct 22 17:10: 6 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61DB437B404 for ; Tue, 22 Oct 2002 17:10:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6A0643E6A for ; Tue, 22 Oct 2002 17:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9N0A1x3069168 for ; Tue, 22 Oct 2002 17:10:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9N0A16N069161; Tue, 22 Oct 2002 17:10:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D21937B401; Tue, 22 Oct 2002 17:00:33 -0700 (PDT) Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFB8A43E42; Tue, 22 Oct 2002 17:00:32 -0700 (PDT) (envelope-from alane@wwweasel.geeksrus.net) Received: from wwweasel.geeksrus.net (alane@localhost [127.0.0.1]) by wwweasel.geeksrus.net (8.12.6/8.12.6) with ESMTP id g9N00QpC087979; Tue, 22 Oct 2002 20:00:26 -0400 (EDT) (envelope-from alane@wwweasel.geeksrus.net) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.12.6/8.12.6/Submit) id g9N00Q5k087965; Tue, 22 Oct 2002 20:00:26 -0400 (EDT) (envelope-from alane) Message-Id: <200210230000.g9N00Q5k087965@wwweasel.geeksrus.net> Date: Tue, 22 Oct 2002 20:00:26 -0400 (EDT) From: Alan Eldridge Reply-To: Alan Eldridge To: FreeBSD-gnats-submit@FreeBSD.org Cc: obrien@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/44397: mail/mutt: pre-build target still doesn't handle replacement strings with / chars Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44397 >Category: ports >Synopsis: mail/mutt: pre-build target still doesn't handle replacement strings with / chars >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 22 17:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Alan Eldridge >Release: FreeBSD 4.7-STABLE i386 >Organization: Geeksrus.NET >Environment: System: FreeBSD wwweasel.geeksrus.net 4.7-STABLE FreeBSD 4.7-STABLE #1: Mon Oct 21 20:48:45 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/MY_SHITS_FUCKED_UP i386 >Description: An upcoming bsd.port.mk patch will result in AUTOCONF, AUTOMAKE, etc values that are full paths. The current code (which in mutt-devel I think I may be responsible for, oops) barfs and prevents the port from building. This needs to be fixed ASAP so we can test it in the next 4-exp run. >How-To-Repeat: Try to build with unreleased bsd.port.mk patch. Look at the "latest 4-exp run" error logs on bento if you want to see the crash in all its fiery glory. >Fix: =========================================================================== Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/mutt/Makefile,v retrieving revision 1.124 diff -u -3 -r1.124 Makefile --- Makefile 17 Oct 2002 04:01:24 -0000 1.124 +++ Makefile 22 Oct 2002 22:24:00 -0000 @@ -57,6 +57,7 @@ DIST_SUBDIR= mutt WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//} +USE_REINPLACE= yes USE_OPENSSL= yes GNU_CONFIGURE= yes USE_AUTOMAKE= yes # configure.in is patched by @@ -88,8 +89,10 @@ # this should be done automagically by aclocal but .... # for now, this will have to do pre-build: - @${PERL} -pi -e "s/^(ACLOCAL = ).+/\1${ACLOCAL}/; s/^(AUTOCONF = ).+/\1${AUTOCONF}/; \ - s/^(AUTOMAKE = ).+/\1${AUTOMAKE}/; s/^(AUTOHEADER = ).+/\1${AUTOHEADER}/" \ + ${REINPLACE_CMD} -E -e "s|^(ACLOCAL = ).+|\1${ACLOCAL}|" \ + -e "s|^(AUTOCONF = ).+|\1${AUTOCONF}|" \ + -e "s|^(AUTOMAKE = ).+|\1${AUTOMAKE}|" \ + -e "s|^(AUTOHEADER = ).+|\1${AUTOHEADER}|" \ ${BUILD_WRKSRC}/Makefile cd ${WRKSRC} && ${MAKE} keymap_defs.h =========================================================================== >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message