Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 18:33:26 -0400 (EDT)
From:      Alan Eldridge <ports@geeksrus.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        udo.schweigert@siemens.com
Subject:   ports/44395: mail/mutt-devel: pre-build target still doesn't handle replacement strings with / chars
Message-ID:  <200210222233.g9MMXQSa086485@wwweasel.geeksrus.net>

next in thread | raw e-mail | index | archive | help

>Number:         44395
>Category:       ports
>Synopsis:       mail/mutt-devel: pre-build target still doesn't handle replacement strings with / chars
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 22 15:40: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.

To udo.schweigert: I'll commit for you if you're not a committer and you give
the ok.

>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:

==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==
Index: mutt-devel/Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/mutt-devel/Makefile,v
retrieving revision 1.179
diff -u -3 -r1.179 Makefile
--- mutt-devel/Makefile	5 Oct 2002 19:03:32 -0000	1.179
+++ mutt-devel/Makefile	21 Oct 2002 17:42:37 -0000
@@ -119,10 +119,10 @@
 # this should be done automagically by aclocal but ....
 # for now, this will have to do
 pre-build:
-	@${REINPLACE_CMD} -E -e "s/^(ACLOCAL = ).+/\1${ACLOCAL}/" \
-			-e "s/^(AUTOCONF = ).+/\1${AUTOCONF}/" \
-			-e "s/^(AUTOMAKE = ).+/\1${AUTOMAKE}/" \
-			-e "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
 
 .if !defined(PATCH_VERSION)
==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==


>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?200210222233.g9MMXQSa086485>