From mistral@imasy.or.jp  Sun May 16 08:08:18 2004
Return-Path: <mistral@imasy.or.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 609AE16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 May 2004 08:08:18 -0700 (PDT)
Received: from shimako.yamayuri.org (yumi.yamayuri.org [218.45.22.23])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2E18543D3F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 May 2004 08:08:17 -0700 (PDT)
	(envelope-from mistral@imasy.or.jp)
Received: from shimako.yamayuri.org (localhost [IPv6:3ffe:505:2020:0:203:47ff:fe14:7175])
	by shimako.yamayuri.org (8.12.11/8.12.11/mistral) with ESMTP id i4GF8BHX012739
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 May 2004 00:08:12 +0900 (JST)
	(envelope-from mistral@imasy.or.jp)
Received: (from sarumaru@localhost)
	by shimako.yamayuri.org (8.12.11/8.12.11/Submit) id i4GF8AKw012738;
	Mon, 17 May 2004 00:08:11 +0900 (JST)
	(envelope-from sarumaru)
Message-Id: <200405161508.i4GF8AKw012738@shimako.yamayuri.org>
Date: Mon, 17 May 2004 00:08:11 +0900 (JST)
From: Yoshihiko Sarumaru <mistra@imasy.or.jp>
Reply-To: Yoshihiko Sarumaru <mistral@imasy.or.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ports/editors/gnuserv: gnudoit-emacs don't work
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         66710
>Category:       ports
>Synopsis:       ports/editors/gnuserv: gnudoit-emacs don't work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    nork
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 16 08:10:26 PDT 2004
>Closed-Date:    Tue May 18 10:21:23 PDT 2004
>Last-Modified:  Tue May 18 10:21:23 PDT 2004
>Originator:     Yoshihiko Sarumaru
>Release:        FreeBSD 4.10-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD shimako.yamayuri.org 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #3: Wed Apr 28 00:25:15 JST 2004 sarumaru@shimako.yamayuri.org:/usr/obj/usr/src/sys/Z505VRK i386


	
>Description:
	4 commands that will be installed from ports/editors/gnuserv are named with -emacs suffix to make a difference from the one of XEmacs.
	gnudoit-emacs and gnuattach-emacs are a wrapper to execute gnuclient-emacs, but those files are remained to execute gnuclient.
>How-To-Repeat:
	shimako% gnudoit-emacs  '(select-frame (make-frame))(tetris)'
	exec: gnuclient: not found
	
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/editors/gnuserv/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	20 Feb 2003 17:12:49 -0000	1.11
+++ Makefile	16 May 2004 14:53:45 -0000
@@ -16,6 +16,7 @@
 COMMENT=	A standalone release of gnuserv for GNU Emacs
 
 GNU_CONFIGURE=	yes
+USE_REINPLACE=	yes
 
 BINSUFFIX?=	-emacs
 
@@ -38,6 +39,12 @@
 		BINSUFFIX=${BINSUFFIX}
 
 lispdir=	${PREFIX}/${EMACS_SITE_LISPDIR}/gnuserv
+
+post-patch:
+.for i in gnudoit gnuattach
+	${REINPLACE_CMD} 's/gnuclient/gnuclient${BINSUFFIX}/' ${WRKSRC}/${i}
+.endfor
+
 post-install:
 	${MKDIR} ${lispdir};
 .for i in ${SOURCES} ${ELCS}

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->nork 
Responsible-Changed-By: nork 
Responsible-Changed-When: Sun May 16 08:43:58 PDT 2004 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66710 
State-Changed-From-To: open->closed 
State-Changed-By: nork 
State-Changed-When: Tue May 18 10:21:11 PDT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66710 
>Unformatted:
