Subject: pkg/4921: ghostscript pkg tries to reinstall unzip even if you have it.
To: None <gnats-bugs@gnats.netbsd.org>
From: Garbled User <garbled@garbled.futureone.com>
List: netbsd-bugs
Date: 01/31/1998 04:50:27
>Number: 4921
>Category: pkg
>Synopsis: ghostscript pkg tries to reinstall unzip even if you have it.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 31 04:05:01 1998
>Last-Modified:
>Originator: Garbled User
>Organization:
Tim Rightnour - root@garbled.futureone.com
http://www.zynetwc.com/~garbled/garbled.html
>Release: 1.3<NetBSD-current source date>
>Environment:
System: NetBSD garbled.futureone.com 1.3 NetBSD 1.3 (POLARIS) #0: Fri Jan 23 07:52:15 PST 1998 root@garbled.futureone.com:/usr/src/build/usr/src/sys/arch/i386/compile/POLARIS i386
>Description:
if you have allready installed the unzip package, and then try to build
ghostscript, it will rebuild it, try to install it, and fail. I imagine if
you just had the bin 'unzip' that you build yourself, it would gleefully
install it then too. In the case that you allready have the pkg installed,
the make fails.
>How-To-Repeat:
build unzip then build ghostscript5
>Fix:
*** Makefile.orig Sat Jan 31 04:18:20 1998
--- Makefile Sat Jan 31 04:22:21 1998
***************
*** 18,25 ****
MAINTAINER= explorer@netbsd.org
BUILD_DEPENDS= ${PORTSDIR}/graphics/jpeg/${WRKDIR:T}/jpeg-6a:${PORTSDIR}/graphics/jpeg:extract \
! ${PORTSDIR}/graphics/png/${WRKDIR:T}/libpng-0.96:${PORTSDIR}/graphics/png:extract \
! unzip:${PORTSDIR}/archivers/unzip
MAKE_ENV= PORTSDIR=${PORTSDIR}
EXTRACT_ONLY= ${GS_SOURCES}
--- 18,25 ----
MAINTAINER= explorer@netbsd.org
BUILD_DEPENDS= ${PORTSDIR}/graphics/jpeg/${WRKDIR:T}/jpeg-6a:${PORTSDIR}/graphics/jpeg:extract \
! ${PORTSDIR}/graphics/png/${WRKDIR:T}/libpng-0.96:${PORTSDIR}/graphics/png:extract
! BIN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
MAKE_ENV= PORTSDIR=${PORTSDIR}
EXTRACT_ONLY= ${GS_SOURCES}
>Audit-Trail:
>Unformatted: