databases/unixODBC installs empty config files

Scot Hetzel swhetzel at gmail.com
Fri Apr 20 01:24:12 UTC 2007


On 4/19/07, Ed Maste <emaste at 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.


More information about the freebsd-ports mailing list