ports/66710: ports/editors/gnuserv: gnudoit-emacs don't work

Yoshihiko Sarumaru mistra at imasy.or.jp
Sun May 16 15:10:27 UTC 2004


>Number:         66710
>Category:       ports
>Synopsis:       ports/editors/gnuserv: gnudoit-emacs don't work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 16 08:10:26 PDT 2004
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list