Replace to mntent.h

Markus Brueffer markus at brueffer.de
Thu Feb 26 09:10:54 PST 2004


On Thursday 26 February 2004 15:57, Gustavo Fukao wrote:
> 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, 
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/filelight 
and it works without a glitch. Just add them to the files-directory and copy 
them to the desired location in the post-patch target. Don't forget to 
connect them to the build of your program (see the patches of filelight for 
an easy way to do so, without adding too many additional patches).

If you have any further problems with it, please provide some more information 
about what doesn't work in detail. :)

Markus

-- 
Markus Brueffer    | GPG-Key: http://people.FreeBSD.org/~markus/markus.asc
markus at brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4
markus at FreeBSD.org | FreeBSD: The Power to Serve!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040226/a9970583/attachment.bin


More information about the freebsd-ports mailing list