Date: Fri, 4 Aug 2006 11:02:57 +0300 From: Vasil Dimov <vd@FreeBSD.org> To: Jona Joachim <jaj13@web.de> Cc: freebsd-ports@FreeBSD.org Subject: Re: little problem with pkg-plist Message-ID: <20060804080257.GA56818@qlovarnika.bg.datamax> In-Reply-To: <44D21D1C.3020908@web.de> References: <44D11DFF.7000103@web.de> <20060803074832.GA96800@qlovarnika.bg.datamax> <44D1F5BB.20105@web.de> <20060803133334.GA3117@qlovarnika.bg.datamax> <44D21D1C.3020908@web.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <email@address.bar> --=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060804080257.GA56818>