From owner-freebsd-ports@FreeBSD.ORG Sun Jun 17 10:51:07 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CA4916A468 for ; Sun, 17 Jun 2007 10:51:07 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from raven.customer.vol.cz (raven.customer.vol.cz [195.250.144.108]) by mx1.freebsd.org (Postfix) with ESMTP id 955A613C45D for ; Sun, 17 Jun 2007 10:51:06 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from [192.168.0.23] (rb5dg130.net.upc.cz [89.176.238.130]) (authenticated bits=0) by raven.customer.vol.cz (8.14.1/8.14.1) with ESMTP id l5HAox13014289 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 17 Jun 2007 12:51:01 +0200 (CEST) (envelope-from pav@FreeBSD.org) From: Pav Lucistnik To: Gabor Tjong A Hung In-Reply-To: <822946050706170249o338aca12u66e38014fd74b45a@mail.gmail.com> References: <822946050706170249o338aca12u66e38014fd74b45a@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-/zaeNGMUSYFi8d2z04iq" Date: Sun, 17 Jun 2007 12:50:59 +0200 Message-Id: <1182077459.2041.19.camel@ikaros.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-Spam-Score: -1.131 () AWL,BAYES_50 X-Scanned-By: MIMEDefang 2.61 on 195.250.144.108 X-Milter: Spamilter (Reciever: raven.customer.vol.cz; Sender-ip: 89.176.238.130; Sender-helo: [192.168.0.23]; ) Cc: ports@FreeBSD.org Subject: Re: opensync ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2007 10:51:07 -0000 --=-/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 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--