From owner-freebsd-ports@FreeBSD.ORG Thu Feb 26 09:48:55 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 A357216A4CE; Thu, 26 Feb 2004 09:48:55 -0800 (PST) Received: from smtp.tal.de (work5.tal.de [81.92.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 383AF43D31; Thu, 26 Feb 2004 09:48:55 -0800 (PST) (envelope-from markus@brueffer.de) Received: from ramses.kicks-ass.net (unknown [82.139.198.15]) by smtp.tal.de (TAL.DE) with ESMTP id F0730F617B; Thu, 26 Feb 2004 18:49:03 +0100 (CET) Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) by ramses.kicks-ass.net (Postfix) with ESMTP id 3076FB850; Thu, 26 Feb 2004 18:48:55 +0100 (CET) From: Markus Brueffer To: freebsd-ports@freebsd.org Date: Thu, 26 Feb 2004 18:50:30 +0100 User-Agent: KMail/1.6 References: <20040226145708.25325.qmail@web40808.mail.yahoo.com> <200402261812.30052.markus@brueffer.de> <20040226172305.GA40505@huckfinn.arved.de> In-Reply-To: <20040226172305.GA40505@huckfinn.arved.de> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_qHjPAz5zaVBsP0z"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402261850.34570.markus@brueffer.de> cc: Tilman Linneweh 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:48:55 -0000 --Boundary-02=_qHjPAz5zaVBsP0z Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 26 February 2004 18:23, Tilman Linneweh wrote: > * 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,=3D20 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=3D ht=3D20 > > and it works without a glitch. Just add them to the files-directory and > > cop=3D y=3D20 > > them to the desired location in the post-patch target. Don't forget to= =3D20 > > connect them to the build of your program (see the patches of filelight > > for=3D =3D20 > > 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=3D ion=3D20 > > 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. There are currently 4 ports making use of them: devel/fam editors/manedit sysutils/filelight sysutils/linneighborhood I doubt, this would justify the effort of creating a shared library and mod= ify=20 the ports accordingly. Opinions? Markus =2D-=20 Markus Brueffer | GPG-Key: http://people.FreeBSD.org/~markus/markus.asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --Boundary-02=_qHjPAz5zaVBsP0z Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAPjHq1I0Qcnj4qNQRApCNAKCrPfqUFj1Gi+bD8CqCYEjLs7/BtACfSXKC 4KZ6mw7Fe59RIY7kDVdI4j8= =b1OO -----END PGP SIGNATURE----- --Boundary-02=_qHjPAz5zaVBsP0z--