From owner-freebsd-ports Thu Jan 9 10:44:52 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 403BE37B401 for ; Thu, 9 Jan 2003 10:44:51 -0800 (PST) Received: from analog.databits.net (analog.databits.net [198.78.65.155]) by mx1.FreeBSD.org (Postfix) with SMTP id D287C43F1E for ; Thu, 9 Jan 2003 10:44:50 -0800 (PST) (envelope-from petef@analog.databits.net) Received: (qmail 20873 invoked by uid 1000); 9 Jan 2003 18:41:44 -0000 Date: Thu, 9 Jan 2003 13:41:44 -0500 From: Pete Fritchman To: Ulrich Spoerlein Cc: ports@freebsd.org Subject: Re: Ports depending on Perl Message-ID: <20030109184144.GB29387@absolutbsd.org> References: <20030109193306.6ba05d2b.q@uni.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030109193306.6ba05d2b.q@uni.de> User-Agent: Mutt/1.4i 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 ++ 09/01/03 19:33 +0100 - Ulrich Spoerlein: | Hello, | | I'm trying to find out, which Ports depend on perl but fail to report | that. So far, I have a list of 361 ports, that _might_ not build, when perl | is missing. BUT there are enough knobs, that may require perl anyway. | | How can I find out, which USE_* Vars pull in perl? | For example, if a port depends on Gnome (USE_GNOME), does that mean that | perl is installed? (is gnome dependend on perl?) | | Does X need perl? (USE_XLIB, USE_X_PREFIX) You need to look through the /usr/ports/Mk/bsd.*.mk files to get a handle on that. | Or should all ports using stuff like this | @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ | s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure | get converted to USE_REINPLACE/${REINPLACE_CMD}? Only if they don't depend on Perl explicitly. I think that even though a port might have perl in it's dependencies from something else it requires, it shouldn't rely on USE_FOO giving it Perl. But I don't think this is something worth sweeping the tree for, rather just to update gradually as those ports get updated themselves. --pete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message