From owner-freebsd-ports Fri Aug 20 5:32:52 1999 Delivered-To: freebsd-ports@freebsd.org Received: from silvia.hip.berkeley.edu (sji-ca44-42.ix.netcom.com [209.111.212.170]) by hub.freebsd.org (Postfix) with ESMTP id CA52A14E1A; Fri, 20 Aug 1999 05:32:49 -0700 (PDT) (envelope-from asami@stampede.cs.berkeley.edu) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id FAA89393; Fri, 20 Aug 1999 05:30:36 -0700 (PDT) To: Mark Blackman Cc: freebsd-ports@freebsd.org, obrien@freebsd.org Subject: Re: ports/devel/ddd and mk files. References: <199908201216.NAA97079@mescalero.sophos.com> From: asami@freebsd.org (Satoshi - Ports Wraith - Asami) Date: 20 Aug 1999 05:30:35 -0700 In-Reply-To: Mark Blackman's message of "Fri, 20 Aug 1999 13:16:10 +0100" Message-ID: Lines: 33 X-Mailer: Gnus v5.7/Emacs 20.4 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * From: Mark Blackman * make of ports/devel/ddd complains with lots of ... * * "Makefile", line 32: warning: "echo -L/usr/X11R6/lib -lXm | -e 's/-L//g' | '{print $1}'" returned non-zero status * -e: not found * * this is because the MOTIFLIB,SED, and AWK variables aren't * getting expanded. The only place I see these defined is * /usr/ports/Mk/bsd.port.mk, but I don't see how this * particular include is getting sucked in. Yikes. Upon closer examination, this is doomed to fail if the user doesn't define MOTIFLIB in /etc/make.conf. The definition in bsd.port.mk would come too late in that case. Maybe it should be changed to something like .if defined(MOTIFLIB) ...what we have now .else LIBXMDIR= ${X11BASE} .endif since the only time we'd worry about where Motif libs are is when it's not in the default location (and the user should have defined MOTIFLIB in /etc/make.conf for that to work) ? * So where are SED and AWK supposed to be defined? I've fixed sed and awk a couple of hours ago. Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message