From owner-freebsd-ports Tue Jun 3 23:25:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA28475 for ports-outgoing; Tue, 3 Jun 1997 23:25:02 -0700 (PDT) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA28464 for ; Tue, 3 Jun 1997 23:24:55 -0700 (PDT) Received: from time.cdrom.com (jkh@localhost [127.0.0.1]) by time.cdrom.com (8.8.5/8.6.9) with ESMTP id XAA05543; Tue, 3 Jun 1997 23:24:54 -0700 (PDT) To: Tim Pushor cc: ports@FreeBSD.ORG Subject: Re: Ahhhh More pkg_add problems In-reply-to: Your message of "Tue, 03 Jun 1997 21:30:05 -0000." Date: Tue, 03 Jun 1997 23:24:54 -0700 Message-ID: <5540.865405494@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I am attempting to create a package containing software I wrote for easy > installation. The problem is that my package requires another package to > be installed. I use the @pkgdep statement in the packing list to state the > dependancy. > > When I try to install my package and I don't have the package my package > depends on installed, it installs anyway, but gives me an error (kind of) > like this: > > /var/spool/db/pkg//+REQUIRED BY not found Hmmmm. That _should_ work - let me look into it. > 2) (somewhat unrelated0 is there a way that I can abort the install based > on the return value of a shell script? For example, I tried: Yes, that's what the "requirements" script is for - take a look at the man page for pkg_create. Jordan