Subject: pkg/9102: japanese/vfghostscript5 pkg should look at DIST_SUBDIR.
To: None <>
From: SUNAGAWA Keiki <>
List: netbsd-bugs
Date: 01/02/2000 04:06:52
>Number:         9102
>Category:       pkg
>Synopsis:       japanese/vfghostscript5 pkg doesn't look at DIST_SUBDIR.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan  2 04:06:01 2000
>Originator:     SUNAGAWA Keiki
	home, sweet home
>Release:        current as of 2000-01-01
System: NetBSD azarin 1.4P NetBSD 1.4P (AZARIN) #84: Wed Dec 1 21:54:14 JST 1999 kei@azarin:/a/anoncvs/netbsd/src/sys/arch/macppc/compile/AZARIN macppc

	DIST_SUBDIR was introduced to japanese/vfghostscript5 as well as
	print/ghostscript5, though DISTDIR doesn't contain DIST_SUBDIR.  Thus
	it doesn't look at DIST_SUBDIR and misses the distfiles/patches.
	make print/ghostscript5, then japanese/vfghostscript5 and watch it
	fails to find distfiles already in ${DISTDIR}/ghostscript and re-fetch
	Use _DISTDIR instead of DISTDIR.

Index: Makefile
RCS file: /a/rsync/,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	1999/12/01 01:27:19	1.2
+++ Makefile	2000/01/02 11:37:22
@@ -78,8 +78,8 @@
 	${LN} -s ${BUILD_ROOT}/graphics/jpeg/${WRKDIR:T}/jpeg-6b ${WRKSRC}/jpeg
-	cd ${WRKSRC} && unzip -uLa ${DISTDIR}/${HP850_DRV}
+	cd ${WRKSRC} && unzip -uLa ${_DISTDIR}/${HP850_DRV}
 	cd ${WRKDIR} ; ${PATCH} -s -p0 < gs5.50-vflib-1.0/gs5.50-vflib-1.0.diff