Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 1997 08:09:40 +0900 (JST)
From:      mita@jp.FreeBSD.org (MITA Yoshio)
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/2878: Bug fix of jp-vfghostscript-4.03 font extraction
Message-ID:  <199703042309.IAA06608@datsu.fujita3.iis.u-tokyo.ac.jp>
Resent-Message-ID: <199703042320.PAA22782@freefall.freebsd.org>

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

>Number:         2878
>Category:       ports
>Synopsis:       ${PREFIX}/share/ghostscript should be created before
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar  4 15:20:02 PST 1997
>Last-Modified:
>Originator:     MITA Yoshio
>Organization:
IIS, the University of TOKYO
>Release:        FreeBSD 2.2-970225-GAMMA i386
>Environment:

2.2-970205-GAMMA

>Description:

As Asami-san already knows, installation of jp-vfghostscript-4.03
fails for the first time.  ghostscript-fonts are extracted not under
${PREFIX}/share/ghostscript/, but ${PORTSDIR}/japanese/vfghostscript/.

It was because the installation directory ${PREFIX}/share/ghostscript is 
not created that tar can't change direcory, then tar extracts fonts 
under current directory.

>How-To-Repeat:

rm -rf /usr/local/share/ghostscript
cd /usr/ports/japanese/vfghostscript4
make install

>Fix:
	
Apply this patch, please..Sorry for too frequent bug-report just before freeze.

diff -rcN vfghostscript4.orig/Makefile vfghostscript4/Makefile
*** vfghostscript4.orig/Makefile	Mon Mar  3 19:02:17 1997
--- vfghostscript4/Makefile	Wed Mar  5 07:24:13 1997
***************
*** 84,89 ****
--- 84,90 ----
  .endif
  
  pre-install:
+ 	@mkdir -p ${PREFIX}/share/ghostscript
  	@tar -C ${PREFIX}/share/ghostscript -xzf ${DISTDIR}/${GS_FONTS_STD}
  	@tar -C ${PREFIX}/share/ghostscript -xzf ${DISTDIR}/${GS_FONTS_OTHER}
  
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703042309.IAA06608>