From owner-freebsd-ports Mon Nov 4 02:24:19 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA25448 for ports-outgoing; Mon, 4 Nov 1996 02:24:19 -0800 (PST) Received: from dfw-ix9.ix.netcom.com (dfw-ix9.ix.netcom.com [206.214.98.9]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id CAA25439 for ; Mon, 4 Nov 1996 02:24:15 -0800 (PST) Received: from baloon.mimi.com (sjx-ca11-08.ix.netcom.com [199.182.128.104]) by dfw-ix9.ix.netcom.com (8.6.13/8.6.12) with ESMTP id CAA17504; Mon, 4 Nov 1996 02:23:42 -0800 Received: (from asami@localhost) by baloon.mimi.com (8.8.2/8.6.12) id CAA03626; Mon, 4 Nov 1996 02:23:40 -0800 (PST) Date: Mon, 4 Nov 1996 02:23:40 -0800 (PST) Message-Id: <199611041023.CAA03626@baloon.mimi.com> To: fenner@parc.xerox.com CC: ports@FreeBSD.org In-reply-to: <96Nov3.165528pst.177557@crevenia.parc.xerox.com> (message from Bill Fenner on Sun, 3 Nov 1996 16:55:16 PST) Subject: Re: Figuring out another port's build directory From: asami@FreeBSD.org (Satoshi Asami) Sender: owner-ports@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk * that. Does anyone see anything wrong with the following Makefile construct * (other than that it's hairy)? Yes. It's hairy. ;) * CONFIGURE_ARGS= --with-gsm=`awk '/^WRKSRC=/ { sub(/$$[{(]?WRKDIR[})]?/, WRKDIR, * $$2); print $$2 }' WRKDIR=${GSM_DIR}/work ${GSM_DIR}/Makefile` I think this is overkill. If you are writing something that you need to read the awk or sed man page to figure out, that's too complex. Just use the whatever version we have now. Besides, you don't know if a updated gsm will work with vat or not, so it's not a bad idea to leave in a dependency. That way the port will be sure to barf at you (or at least me, who will barf at you in turn :). Satoshi