From owner-freebsd-ports@FreeBSD.ORG Fri Aug 4 08:03:01 2006 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org 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 0E33516A4DE; Fri, 4 Aug 2006 08:03:01 +0000 (UTC) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 831CC43D45; Fri, 4 Aug 2006 08:02:59 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id DE264B833; Fri, 4 Aug 2006 11:02:57 +0300 (EEST) Received: (nullmailer pid 57001 invoked by uid 1002); Fri, 04 Aug 2006 08:02:57 -0000 Date: Fri, 4 Aug 2006 11:02:57 +0300 From: Vasil Dimov To: Jona Joachim Message-ID: <20060804080257.GA56818@qlovarnika.bg.datamax> References: <44D11DFF.7000103@web.de> <20060803074832.GA96800@qlovarnika.bg.datamax> <44D1F5BB.20105@web.de> <20060803133334.GA3117@qlovarnika.bg.datamax> <44D21D1C.3020908@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <44D21D1C.3020908@web.de> Cc: freebsd-ports@FreeBSD.org Subject: Re: little problem with pkg-plist X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Aug 2006 08:03:01 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 03, 2006 at 05:58:20PM +0200, Jona Joachim wrote: > Vasil Dimov wrote: > > On Thu, Aug 03, 2006 at 03:10:19PM +0200, Jona Joachim wrote: > >> Vasil Dimov wrote: > >>> On Wed, Aug 02, 2006 at 11:49:51PM +0200, Jona Joachim wrote: > >>>> Hi! > >>>> I ported SGE (SDL Graphics Extension) to FreeBSD and ran into a stra= nge > >>>> problem with pkg-plist. > >>>> Among others these files are listed in pkg-plist: > >>>> lib/libSGE.a > >>>> lib/libSGE.so > >>>> lib/libSGE.so.0 > >>>> lib/libSGE.so.0.030809 > >>>> [...] > >>>> /home/default/SGE> sudo make deinstall > >>>> =3D=3D=3D> Deinstalling for devel/SGE > >>>> =3D=3D=3D> Deinstalling SGE-0.030809 > >>>> pkg_delete: file '/usr/local/lib/libSGE.so.0' doesn't exist > >>>> pkg_delete: couldn't entirely delete package (perhaps the packing li= st is > >>>> incorrectly specified?) [...] >=20 > You can find it here: > http://webplaza.pt.lu/~mpjjjjsj/files/SGE.shar >=20 Here is what happens: % make generate-plist =3D=3D=3D> Generating temporary packing list % cat work/.PLIST.mktmp include/SDL11/sge.h include/SDL11/sge_blib.h include/SDL11/sge_bm_text.h include/SDL11/sge_collision.h include/SDL11/sge_config.h include/SDL11/sge_internal.h include/SDL11/sge_misc.h include/SDL11/sge_primitives.h include/SDL11/sge_rotation.h include/SDL11/sge_shape.h include/SDL11/sge_surface.h include/SDL11/sge_textpp.h include/SDL11/sge_tt_text.h lib/libSGE.a lib/libSGE.so lib/libSGE.so.0 lib/libSGE.so.0 % To overcome this feature you should define NO_FILTER_SHLIBS in the port's Makefile. Here are some other things that I think need fixing: * respect CFLAGS Should be a matter of changing the line CFLAGS =3D-Wall -O3 -ffast-math in Makefile.conf to something like this: CFLAGS +=3D-Wall -ffast-math * do not build the library at install time but rather at build time * set USE_LDCONFIG=3Dyes * @dirrmtry include/SDL11 This port creates the directory ${PREFIX}/include/SDL11/ which is non-mtree compliant and therefore should attempt to remove it when deinstalled. Use dirrmtry because other ports also install files there. * MAINTAINER=3D If walkingshadow*grummel.net is your email, why do you use jaj13*web.de? If you intend to send future updates from jaj13*web.de this will lead to confusion because the committer will not know you are the maintainer. * Whom: ws Use something like: Whom: Real Name --=20 Vasil Dimov gro.DSBeerF@dv Testing can show the presence of bugs, but not their absence. -- Edsger W. Dijkstra --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFE0v8xFw6SP/bBpCARAvMTAJwNcyk15u1hP8HrCjhxxWOezsVBWwCaAiiV kMkciiImKUhT2sNUruWnPdA= =xBcS -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv--