From owner-freebsd-ports@FreeBSD.ORG Thu Apr 19 21:50:44 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B300516A406 for ; Thu, 19 Apr 2007 21:50:44 +0000 (UTC) (envelope-from emaste@phaedrus.sandvine.ca) Received: from gw.sandvine.com (gw.sandvine.com [199.243.201.138]) by mx1.freebsd.org (Postfix) with ESMTP id 6225413C487 for ; Thu, 19 Apr 2007 21:50:44 +0000 (UTC) (envelope-from emaste@phaedrus.sandvine.ca) Received: from labgw2.phaedrus.sandvine.com ([192.168.3.11]) by gw.sandvine.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 19 Apr 2007 17:49:40 -0400 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 12627) id EF886116DA; Thu, 19 Apr 2007 17:49:39 -0400 (EDT) Date: Thu, 19 Apr 2007 17:49:39 -0400 From: Ed Maste To: Scot Hetzel Message-ID: <20070419214939.GA47621@sandvine.com> References: <20070419153348.GA66904@sandvine.com> <790a9fff0704191312t704ad862odcd4b25801f5d1b8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <790a9fff0704191312t704ad862odcd4b25801f5d1b8@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 19 Apr 2007 21:49:40.0203 (UTC) FILETIME=[A1C06BB0:01C782CC] Cc: freebsd-ports@freebsd.org Subject: Re: databases/unixODBC installs empty config files X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 21:50:44 -0000 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