Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 18:34:40 +0200 (CEST)
From:      Udo Schweigert <udo.schweigert@siemens.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40352: maintainer-update of mail/mutt-devel
Message-ID:  <200207081634.g68GYeeT016673@alaska.cert.siemens.de>

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

>Number:         40352
>Category:       ports
>Synopsis:       maintainer-update of mail/mutt-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 08 09:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Udo Schweigert
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD alaska.cert.siemens.de 4.6-STABLE FreeBSD 4.6-STABLE #99: Mon Jul 8 10:18:07 CEST 2002 ust@alaska.cert.siemens.de:/usr/obj/work/src/RELENG_4/sys/alaska i386


>Description:

Maintainer update of mail/mutt-devel:

	- Use REINPLACE_CMD instead of PERL, so port builds again on non-perl
	  systems, i.e. -current.

Tested on 4.6-p1 (sed_inplace), -stable (sed) and -current (sed) as of 
July, 8th, 2002.

>How-To-Repeat:
>Fix:

diff -ruN /usr/ports/mail/mutt-devel/Makefile ./Makefile
--- /usr/ports/mail/mutt-devel/Makefile	Sun Jun 16 15:05:25 2002
+++ ./Makefile	Mon Jul  8 18:23:37 2002
@@ -75,10 +75,11 @@
 CONFIGURE_ARGS+=	${MUTT_CONFIGURE_ARGS}
 .endif
 
-.include <bsd.port.pre.mk>
-
+USE_REINPLACE=	yes
 USE_AUTOMAKE=	yes
 
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_MUTT_COMPRESSED_FOLDERS) || defined(WITH_MUTT_NNTP) || \
 		defined(WITH_MUTT_QUOTE_PATCH)
 PATCH_SITES+=	http://www.mutt.org.ua/download/mutt-${PATCH_VERSION}/ \
@@ -91,8 +92,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
 
 .if !defined(PATCH_VERSION)
@@ -190,7 +193,7 @@
 MAN5=		muttrc.5 mbox.5
 
 post-patch::
-	@${PERL} -pi.fbsd -e 's,/usr/bin/gpg,${LOCALBASE}/bin/gpg,g' \
+	@${REINPLACE_CMD} -e 's,/usr/bin/gpg,${LOCALBASE}/bin/gpg,g' \
 		${WRKSRC}/contrib/gpg.rc
 	@${CP} ${PATCHDIR}/smime.h ${WRKSRC}
 
>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?200207081634.g68GYeeT016673>