Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  2 Jul 2002 16:03:22 +0400 (MSD)
From:      "Sergey A.Osokin" <osa@FreeBSD.org.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40112: mail/mutt: fix path for ${PREFIX}/share/doc/mutt/samples/gpg.rc
Message-ID:  <20020702120322.679DA21@freebsd.org.ru>

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

>Number:         40112
>Category:       ports
>Synopsis:       mail/mutt: fix path for ${PREFIX}/share/doc/mutt/samples/gpg.rc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 02 05:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergey A. Osokin
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Ded Mazai i zaitsy unLtd.
>Environment:
System: FreeBSD 4.6-STABLE i386

>Description:
	mail/mutt: fix path for ${PREFIX}/share/doc/mutt/samples/gpg.rc
>How-To-Repeat:

	$ cd ports/mail/mutt && make install
	Look at ${PREFIX}/share/doc/mutt/samples/gpg.rc	

>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/mutt/Makefile,v
retrieving revision 1.115
diff -u -r1.115 Makefile
--- Makefile	2002/06/22 17:14:39	1.115
+++ Makefile	2002/07/02 11:57:38
@@ -60,6 +60,7 @@
 DIST_SUBDIR=	mutt
 WRKSRC=		${WRKDIR}/${DISTNAME:S/i$//}
 USE_OPENSSL=	yes
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 USE_AUTOMAKE=	yes	# configure.in is patched by <PATCHFILES>
 AUTOMAKE_ARGS=	--include-deps
@@ -86,9 +87,17 @@
 MAN1=		mutt.1 mutt_dotlock.1
 MAN5=		muttrc.5
 
+RCFILES=	gpg.rc
+
 # XXX
 # this should be done automagically by aclocal but ....
 # for now, this will have to do
+
+post-patch:
+.for i in ${RCFILES}
+	@${REINPLACE_CMD} -e "s:/usr/bin:${PREFIX}/bin:g" ${WRKSRC}/contrib/$i
+.endfor
+
 pre-build:
 	@${PERL} -pi -e "s/^(ACLOCAL = ).+/\1${ACLOCAL}/; s/^(AUTOCONF = ).+/\1${AUTOCONF}/; \
 		s/^(AUTOMAKE = ).+/\1${AUTOMAKE}/; s/^(AUTOHEADER = ).+/\1${AUTOHEADER}/" \

>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?20020702120322.679DA21>