Subject: Re: How to know another pkg's PKG_SYSCONFDIR?
To: Masao Uebayashi <uebayasi@pultek.co.jp>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 05/11/2004 23:49:17
On Wed, 12 May 2004, Masao Uebayashi wrote:

> I'm pkgviews'ifying a package "foo", which needs to know another
> package "bar"'s config file, which is put in "bar"'s PKG_SYSCONFDIR,
> which in turn is recorded in "bar"'s +BUILD_INFO.
>
> How should "foo"'s Makefile look like?

Maybe split up bar's makefile to have a Makefile.common which has its
PKG_SYSCONFDIR definitions. Then use the same Makefile.common for the foo
package too.

I am not sure if that is what you meant. Maybe you can provide a real
example.

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/