From owner-freebsd-ports Mon Feb 25 16:45:55 2002 Delivered-To: freebsd-ports@freebsd.org Received: from jochem.dyndns.org (cc40670-a.groni1.gr.nl.home.com [217.120.131.23]) by hub.freebsd.org (Postfix) with ESMTP id 7A25437B417 for ; Mon, 25 Feb 2002 16:45:52 -0800 (PST) Received: (from jochem@localhost) by jochem.dyndns.org (8.11.6/8.11.6) id g1Q0jcq01872; Tue, 26 Feb 2002 01:45:38 +0100 (CET) (envelope-from jochem) Date: Tue, 26 Feb 2002 01:45:38 +0100 From: Jochem Kossen To: dochawk@psu.edu Cc: freebsd-ports@FreeBSD.ORG Subject: Re: find \! -d not working to build plist Message-ID: <20020226004538.GA667@jochem.dyndns.org> Mail-Followup-To: dochawk@psu.edu, freebsd-ports@FreeBSD.ORG References: <200202252113.g1PLDib09115@fac13.ds.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200202252113.g1PLDib09115@fac13.ds.psu.edu> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Feb 25, 2002 at 04:13:44PM -0500, dochawk@psu.edu wrote: > > The porter's handbook suggests > > (cd /var/tmp/port-name && find -d * \! -type d) > pkg-plist > > however, this returns nothing. poking around, it seems that this > option to find eliminates not just directories, but files wihtin > directories as well. > > It occurred to me to use one of the "levels" option, but this would > seem to just cause the same problem at a lower level. > > Is there a clean solution? The way the porters handbook explains it works perfectly as long as your port honours PREFIX, my guess is, yours does not ;) Jochem To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message