Date: Tue, 22 Oct 2002 20:00:26 -0400 (EDT) From: Alan Eldridge <alane@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: obrien@FreeBSD.org Subject: ports/44397: mail/mutt: pre-build target still doesn't handle replacement strings with / chars Message-ID: <200210230000.g9N00Q5k087965@wwweasel.geeksrus.net>
next in thread | raw e-mail | index | archive | help
>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 <PATCHFILES> @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210230000.g9N00Q5k087965>