Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2007 20:24:10 -0500
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Ed Maste" <emaste@phaedrus.sandvine.ca>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: databases/unixODBC installs empty config files
Message-ID:  <790a9fff0704191824o53167ac9ka31ed0f37f357074@mail.gmail.com>
In-Reply-To: <20070419214939.GA47621@sandvine.com>
References:  <20070419153348.GA66904@sandvine.com> <790a9fff0704191312t704ad862odcd4b25801f5d1b8@mail.gmail.com> <20070419214939.GA47621@sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/19/07, Ed Maste <emaste@phaedrus.sandvine.ca> wrote:
> On Thu, Apr 19, 2007 at 03:12:53PM -0500, Scot Hetzel wrote:
>
> > You can't simply remove them from the plist, as those files (odbc.ini,
> > odbcinst.ini) are created by work/unixODBC-2.2.12/Makefile in the
> > install-data-am target.
>
> It's a shame that the target just touches the files to create
> empty ones; I'm not sure if there are suitable sample files around
> somewhere already.  But I guess having an empty odbc.ini-dist file
> is better than an empty odbc.ini file.
>
> > You'll also need to add a post-install target to the ports Makefile,
> > so that it will create the odbc.ini and odbcinst.ini files.
>
> Basically just mirroring the @exec lines from the plist, right?
>
Yes

-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.



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