Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 21:50:40 +0900 (JST)
From:      sanewo@ba2.so-net.ne.jp
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        shige@freebsd.org
Subject:   ports/28481: ports japanese/eblook installation failure
Message-ID:  <200106281250.f5SCoe047170@ba2.so-net.ne.jp>

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

>Number:         28481
>Category:       ports
>Synopsis:       ports japanese/eblook installation failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 28 06:00:09 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Takanori Saneto
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
an individual
>Environment:
System: FreeBSD muse.sanewo 4.3-STABLE FreeBSD 4.3-STABLE #0: Wed May 23 13:45:14 JST 2001 sanewo@muse.sanewo:/export/usr.obj/usr/src/sys/MUSE i386

ports tree CVSup'ed as of 2001/06/28.

>Description:

When ${PREFIX}/${DOCDIR} already exists, ``make post-install'' fails because
test ([) command exits with non-zero status.
This situation is tipically the case when updating ports using portupgrade.

>How-To-Repeat:

mkdir /usr/local/share/doc/eblook
cd /usr/ports/japanese/eblook
make install

>Fix:

Following patch should fix the problem:

--- Makefile.orig	Thu Jun 28 21:42:29 2001
+++ Makefile	Thu Jun 28 21:42:46 2001
@@ -24,7 +24,7 @@
 
 post-install:
 .if !defined(NOPORTDOCS)
-	@[ ! -d ${PREFIX}/${DOCDIR} ] && ${MKDIR} ${PREFIX}/${DOCDIR}
+	@[ ! -d ${PREFIX}/${DOCDIR} ] && ${MKDIR} ${PREFIX}/${DOCDIR} || true
 	@for i in AUTHORS COPYING ChangeLog NEWS README ; do \
 		${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR} ;\
 	done

>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?200106281250.f5SCoe047170>