databases/unixODBC installs empty config files

Ed Maste emaste at
Thu Apr 19 21:50:44 UTC 2007

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

More information about the freebsd-ports mailing list