From owner-freebsd-ports@FreeBSD.ORG Thu Feb 26 09:24:30 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3847316A4CE for ; Thu, 26 Feb 2004 09:24:30 -0800 (PST) Received: from 21322530218.direct.eti.at (21322530218.direct.eti.at [213.225.30.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F70943D1D for ; Thu, 26 Feb 2004 09:24:29 -0800 (PST) (envelope-from tilman@arved.at) Received: from huckfinn-wi0.arved.de (localhost [127.0.0.1]) i1QHN6lW040535; Thu, 26 Feb 2004 18:24:26 +0100 (CET) (envelope-from tilman@arved.at) Received: (from tilman@localhost) by huckfinn-wi0.arved.de (8.12.11/8.12.6/Submit) id i1QHN6GG040534; Thu, 26 Feb 2004 18:23:06 +0100 (CET) X-Authentication-Warning: huckfinn-wi0.arved.de: tilman set sender to tilman@arved.at using -f Date: Thu, 26 Feb 2004 18:23:05 +0100 From: Tilman Linneweh To: Markus Brueffer Message-ID: <20040226172305.GA40505@huckfinn.arved.de> References: <20040226145708.25325.qmail@web40808.mail.yahoo.com> <200402261812.30052.markus@brueffer.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402261812.30052.markus@brueffer.de> User-Agent: Mutt/1.4.2.1i cc: freebsd-ports@Freebsd.org Subject: Re: Replace to mntent.h X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 17:24:30 -0000 * Markus Brueffer [Do, 26 Feb 2004 at 18:12 GMT]: >> I need som e help to port, and its needs >> >> mntemt.h >> >> these functions >> >> getmntent >> setmntent >> endmntent >> >> I have looked for it at fam/port >> >> and I saw a mntent.h (but can build the project), >> a mntent(compat with freebsd) the same above. > > Yes, these are additional files to provide the above mentioned functions,=20 > since they are not available on FreeBSD out of the box. > >> Anyone where can I find a substitute way to get this functions? > > You can just reuse these two files. I'm doing it myself in sysutils/filelig= > ht=20 > and it works without a glitch. Just add them to the files-directory and cop= > y=20 > them to the desired location in the post-patch target. Don't forget to=20 > connect them to the build of your program (see the patches of filelight for= >=20 > an easy way to do so, without adding too many additional patches). > > If you have any further problems with it, please provide some more informat= > ion=20 > about what doesn't work in detail. :) > Btw, would it make it sense to put these into a shared library? Copying these files into more and more ports looks bad. regards tilman