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

next in thread | previous in thread | raw e-mail | index | archive | help
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?

	- Ed



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