Date: Thu, 26 Feb 2004 18:23:05 +0100 From: Tilman Linneweh <arved@Freebsd.org> To: Markus Brueffer <markus@brueffer.de> Cc: freebsd-ports@Freebsd.org Subject: Re: Replace to mntent.h Message-ID: <20040226172305.GA40505@huckfinn.arved.de> In-Reply-To: <200402261812.30052.markus@brueffer.de> References: <20040226145708.25325.qmail@web40808.mail.yahoo.com> <200402261812.30052.markus@brueffer.de>
next in thread | previous in thread | raw e-mail | index | archive | help
* 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040226172305.GA40505>