From owner-freebsd-ports Wed Sep 17 01:23:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA29159 for ports-outgoing; Wed, 17 Sep 1997 01:23:44 -0700 (PDT) Received: from itojun.csl.sony.co.jp (root@itojun.csl.sony.co.jp [133.138.1.134]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA29142 for ; Wed, 17 Sep 1997 01:23:26 -0700 (PDT) From: itojun@itojun.org Received: from localhost (itojun@localhost [127.0.0.1]) by itojun.csl.sony.co.jp (8.8.5/3.3W3) with ESMTP id RAA21223; Wed, 17 Sep 1997 17:17:32 +0900 (JST) To: asami@cs.berkeley.edu (Satoshi Asami) Cc: tg@ihf.rwth-aachen.de, ports@freebsd.org Subject: Re: portlint check to dependency pathname X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 References: <199709170815.BAA19783@silvia.HIP.Berkeley.EDU> In-reply-to: asami@cs.berkeley.edu (Satoshi Asami)'s message of Wed, 17 Sep 1997 01:15:44 -0700 (PDT). <199709170815.BAA19783@silvia.HIP.Berkeley.EDU> X-Mailer: comp (MHng project) version 1997/08/04 03:38:46, by Jun-ichiro Itoh MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Content-ID: Date: Wed, 17 Sep 1997 17:17:31 +0900 Message-ID: <21220.874484251@itojun.csl.sony.co.jp> Sender: owner-freebsd-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > * I'd like to avoid hard-coding name of port directory (x11/libsx, > * for example) into portlint. I may be able to check if there's > * directory named ../../x11/libsx. Is it enough for you? > * If there's any other ideas to check this case, please let me know. > * (is there any possibility for more-than-two-layers port subdir? > * In that case, it becomes harder) >Can't you just use the whole "${PORTSDIR}/x11/libsx" thing? Yes I plan to use that. I was unsure about the interpretation of ${PORTSDIR} in portlint. (Should it be "/usr/ports", or should it be "../..". While testing a port people may not be using /usr/ports...) >By the >way, don't forget the dependencies might take an optional argument, as >in >file:${PORTSDIR}/category/dir:target itojun