From mita@datsu.fujita3.iis.u-tokyo.ac.jp Tue Mar 4 15:11:03 1997 Received: from datsu.fujita3.iis.u-tokyo.ac.jp (datsu.fujita3.iis.u-tokyo.ac.jp [157.82.109.78]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA22424 for ; Tue, 4 Mar 1997 15:10:59 -0800 (PST) Received: (from mita@localhost) by datsu.fujita3.iis.u-tokyo.ac.jp (8.8.5/8.8.5) id IAA06608; Wed, 5 Mar 1997 08:09:40 +0900 (JST) Message-Id: <199703042309.IAA06608@datsu.fujita3.iis.u-tokyo.ac.jp> Date: Wed, 5 Mar 1997 08:09:40 +0900 (JST) From: mita@jp.FreeBSD.org (MITA Yoshio) Reply-To: mita@jp.FreeBSD.org (MITA Yoshio) To: FreeBSD-gnats-submit@freebsd.org Subject: Bug fix of jp-vfghostscript-4.03 font extraction X-Send-Pr-Version: 3.2 >Number: 2878 >Category: ports >Synopsis: ${PREFIX}/share/ghostscript should be created before >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: closed >Quarter: >Keywords: >Date-Required: >Class: support >Submitter-Id: current-users >Arrival-Date: Tue Mar 4 15:20:02 PST 1997 >Closed-Date: Wed Mar 5 01:20:09 PST 1997 >Last-Modified: Wed Mar 5 01:20:44 PST 1997 >Originator: MITA Yoshio >Release: FreeBSD 2.2-970225-GAMMA i386 >Organization: IIS, the University of TOKYO >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} >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: asami State-Changed-When: Wed Mar 5 01:20:09 PST 1997 State-Changed-Why: Suggested fix applied, thanks! >Unformatted: