Subject: confused about *DEPEND*
To: None <tech-pkg@NetBSD.ORG>
From: None <mcmahill@mtl.mit.edu>
List: tech-pkg
Date: 07/09/1998 19:19:00
I'm somewhat confused about the BUILD_DEPEND variable.  I'm just finishing
a package which installs an 'info' page and hence depends on makeinfo and
also on install-info.

I have listed
INFO_FILES=  hp2xx.info

and then I see that bsd.pkg.mk has:

.if defined(INFO_FILES)
USE_GTEXINFO=           yes
.endif
.if defined(USE_GTEXINFO)
DEPENDS+=               gtexinfo-3.12:${PKGSRCDIR}/devel/gtexinfo
.endif

the problem is that I installed gtexinfo just as
pkg_add
ftp://ftp.netbsd.org/pub/NetBSD/packages/1.3/mac68k/All/gtexinfo-3.12.tgz

(or something like that) so I don't have ${PKGSRCDIR}/devel/gtexinfo on my
machine.  This causes

dinah-moe# make install
===>  Installing for hp2xx-3.1.4
===>  Warning: your umask is "0002".
      If this is not desired, set it to an appropriate value
      and install this port again by ``make reinstall''.
cd sources; make install
install -c -s -o root -g wheel -m 555 hp2xx /usr/pkg/bin
install -c -o root -g wheel -m 444 hp2xx.info /usr/pkg/info
install -c -o root -g wheel -m 444 ../doc/hp2xx.1 /usr/pkg/man/man1
/usr/pkg/bin/install-info --info-dir=/usr/pkg/info
/usr/pkg/info/hp2xx.info
===>  Registering installation for hp2xx-3.1.4
Warning: "/usr/pkgsrc/graphics/hp2xx/../../devel/gtexinfo"
non-existent -- @pkgdep registration incomplete

Any ideas what the "right way" is to fix this?

Thanks

Dan