Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 1999 17:29:49 +0900 (JST)
From:      kunishi@c.oka-pu.ac.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11210: editors/wemi-emacs20*: fails 'make install'
Message-ID:  <199904190829.RAA21945@aquamarine.c.oka-pu.ac.jp>

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

>Number:         11210
>Category:       ports
>Synopsis:       editors/wemi-emacs20*: fails 'make install'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 19 01:40:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     KUNISHIMA Takeo
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
Okayama Prefectural University, Japan
>Environment:

	FreeBSD 3.1-RELEASE, with the package 31upgrade-1999.03.08.tgz.

>Description:

	editors/wemi-emacs20 and editors/wemi-emacs20-current fail to
	'make install' with the following message:

# make install
===>  Installing for wemi-emacs20-1.8.6
===>   wemi-emacs20-1.8.6 depends on file: /usr/local/bin/emacs-20.3 - found
===>   wemi-emacs20-1.8.6 depends on file: /usr/local/share/emacs/20.3/site-lisp/emu/emu.el - found
===>   wemi-emacs20-1.8.6 depends on file: /var/db/pkg/flim-emacs20-1.9.2 - found
(stuffs deleted)
===>   Generating temporary packing list
install: /usr/ports/editors/wemi-emacs20/work/wemi-1.8.6/README.html: No such file or directory
*** Error code 71

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

>How-To-Repeat:

	This problem is due to a bug in 'post-install' target in Makefile.
	When doing 'post-install' target, sh extracts 'README.*' to 
	'README.html', which exists in ${.CURDIR} but in ${WRKSRC}.

>Fix:

	This is the same fix committed in editors/flim-emacs20* and 
	editors/semi-emacs20*, by sada at 1999/04/17 22:01:14 PDT.

diff -ruN /usr/ports/editors/wemi-emacs20/Makefile editors/wemi-emacs20/Makefile
--- /usr/ports/editors/wemi-emacs20/Makefile	Sat Apr 17 06:07:22 1999
+++ editors/wemi-emacs20/Makefile	Mon Apr 19 12:59:38 1999
@@ -66,9 +66,10 @@
 	done)
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${PREFIX}/${WEMIDOCDIR}
-	@for i in ChangeLog NEWS README.* TODO VERSION ; do \
-		${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${WEMIDOCDIR}/ ; \
-	done
+	@(cd ${WRKSRC} ; \
+	for i in ChangeLog NEWS README.* TODO VERSION ; do \
+		${INSTALL_DATA} $${i} ${PREFIX}/${WEMIDOCDIR}/ ; \
+	done)
 .endif
 
 .include <bsd.port.post.mk>
diff -ruN /usr/ports/editors/wemi-emacs20-current/Makefile editors/wemi-emacs20-current/Makefile
--- /usr/ports/editors/wemi-emacs20-current/Makefile	Tue Mar  9 13:40:12 1999
+++ editors/wemi-emacs20-current/Makefile	Mon Apr 19 13:00:08 1999
@@ -66,9 +66,10 @@
 	done)
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${PREFIX}/${WEMIDOCDIR}
-	@for i in ChangeLog NEWS README.* TODO VERSION ; do \
-		${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${WEMIDOCDIR}/ ; \
-	done
+	@(cd ${WRKSRC} ; \
+	for i in ChangeLog NEWS README.* TODO VERSION ; do \
+		${INSTALL_DATA} $${i} ${PREFIX}/${WEMIDOCDIR}/ ; \
+	done)
 .endif
 
 .include <bsd.port.post.mk>

>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?199904190829.RAA21945>