Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2000 19:06:45 -0500
From:      Ade Lovett <ade@FreeBSD.org>
To:        Satoshi Asami <asami@freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: NOPORTDOCS handling
Message-ID:  <20000602190645.J66277@FreeBSD.org>
In-Reply-To: <200006021931.MAA67682@silvia.hip.berkeley.edu>; from asami@freebsd.org on Fri, Jun 02, 2000 at 12:31:25PM -0700
References:  <200006021931.MAA67682@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 02, 2000 at 12:31:25PM -0700, Satoshi Asami wrote:
> Hi folks,
> 
> How about the following patch?  By adding "%%PORTDOCS:%%" in front of
> the PLIST lines for things that are not installed when NOPORTDOCS is
> set, you get a correct /var/db/pkg/${PKGNAME}/+CONTENTS regardless of
> the NOPORTDOCS setting.

Ow!  That's blindingly simple and obvious.  :)  This also means I can
go get rid of all of those PLIST.{gnome,nognome} things and
do similar things for such optional dependencies.

Whilst I'm here, would there be any interest in a simple @shlib
(or whatever) construct for packages/PLISTs that does the right
thing in terms of ldconfig?  Could even take it a stage further
and automatically perform the required operation if we find
a file matching lib/lib[^\.]+\.so\.[0-9]+ in the package..

-aDe

-- 
Ade Lovett, Austin, TX.			ade@FreeBSD.org
FreeBSD: The Power to Serve		http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000602190645.J66277>