Date: Sun, 17 Jun 2007 12:50:59 +0200 From: Pav Lucistnik <pav@FreeBSD.org> To: Gabor Tjong A Hung <gvtjongahung@users.sourceforge.net> Cc: ports@FreeBSD.org Subject: Re: opensync ports Message-ID: <1182077459.2041.19.camel@ikaros.oook.cz> In-Reply-To: <822946050706170249o338aca12u66e38014fd74b45a@mail.gmail.com> References: <822946050706170249o338aca12u66e38014fd74b45a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-/zaeNGMUSYFi8d2z04iq Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Gabor Tjong A Hung p=ED=B9e v ne 17. 06. 2007 v 11:49 +0200: > I am new to porting and have tried to port opensync, and the result is > included as attachment. .pc files must go to libdata/pkgconfig, not in lib/pkgconfig. What's up with pkg-message? It does not seem to be referenced anywhere in the port. > - There is a devel/libopensync. I'm not sure if this is the same port. > It appears to be, but this port is version 0.17. This was released > 04/23/05, so I thought I better start anew. >=20 > Should the port be called libopensync? or is opensync the correct name? It's the same port, do it as an update on that directory. > - The following lines were also part of the install instructions. >=20 > # this is required that frontends and plugins find the opensync-1.0.pc fi= le > export PKG_CONFIG_PATH=3D$OPENSYNC_BUILD/lib/pkgconfig:$PKG_CONFIG_PATH >=20 > was it correct of me to assume that > CONFIGURE_ENV=3D PKG_CONFIG_PATH=3D${LOCALBASE}/lib/pkgconfig would be > equivalent? Have you tried without it? Did it worked? I have a feeling this line will have zero effect on the build. > - Based on the pkg-plist I also assumed it had some libraries, so I > added a USE_LDCONFIG=3D yes, although I am hesitating if USE_LDCONFI= G=3D > ${PREFIX}/lib/ ${PREFIX}/lib/opensync/formats ${PREFIX}/lib/pkgconfig >=20 > it does compile fine *with* and *without* USE_LDCONFIG It will compile with or without USE_LDCONFIG. USE_LDCONFIG is ment to expose libraries for other ports. You don't need to expose libraries to ldconfig, if they are never linked again, only dl_open()ed on runtime. Typically, this covers all plugins. I'm quite sure the content of lib/opensync will be dl_open plugins. lib/pkgconfig does not contain any shared libraries. > - Library dependencies. Is there a way to *know* what the port depends > on except from the documentation provided? I couldn't find any dependa= ncies > in the documentation of opensync. My port does seem to clean > scons-0.97, python24-2.4.4 and opensync-0.30. You should read make configure output, it usually checks for dependencies there. If it uses scons for build instead of make, I think you might have the dependency list right here. Clean space test will help you verify this. You could set up Tinderbox for that. > Furthermore, since this is not an application, how can I *know" if this p= ort > is succesfully ported? Port the application too :) --=20 Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> Mischief managed. --=-/zaeNGMUSYFi8d2z04iq Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGdRIPntdYP8FOsoIRAogdAJ9F+0F9yfyvj8eIDSGlVj7Nw8uTMwCbB5mg 7rgEkQTvwHu0UcxaZ3MDOEM= =elTN -----END PGP SIGNATURE----- --=-/zaeNGMUSYFi8d2z04iq--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1182077459.2041.19.camel>