Subject: pkg/9102: japanese/vfghostscript5 pkg should look at DIST_SUBDIR.
To: None <gnats-bugs@gnats.netbsd.org>
From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
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
>Last-Modified:
>Originator: SUNAGAWA Keiki
>Organization:
home, sweet home
>Release: current as of 2000-01-01
>Environment:
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
>Description:
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.
>How-To-Repeat:
make print/ghostscript5, then japanese/vfghostscript5 and watch it
fails to find distfiles already in ${DISTDIR}/ghostscript and re-fetch
them.
>Fix:
Use _DISTDIR instead of DISTDIR.
Index: Makefile
===================================================================
RCS file: /a/rsync/netbsd.org/pkgsrc/japanese/vfghostscript5/Makefile,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 @@
post-extract:
${LN} -s ${BUILD_ROOT}/graphics/jpeg/${WRKDIR:T}/jpeg-6b ${WRKSRC}/jpeg
- cd ${WRKSRC} && unzip -uLa ${DISTDIR}/${HP850_DRV}
- ${CP} ${DISTDIR}/${PDF_SEC} ${WRKSRC}
+ cd ${WRKSRC} && unzip -uLa ${_DISTDIR}/${HP850_DRV}
+ ${CP} ${_DISTDIR}/${PDF_SEC} ${WRKSRC}
pre-patch:
cd ${WRKDIR} ; ${PATCH} -s -p0 < gs5.50-vflib-1.0/gs5.50-vflib-1.0.diff
>Audit-Trail:
>Unformatted: