little problem with pkg-plist
Vasil Dimov
vd at FreeBSD.org
Fri Aug 4 08:03:01 UTC 2006
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 strange
> >>>> 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
> >>>> ===> Deinstalling for devel/SGE
> >>>> ===> 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 list is
> >>>> incorrectly specified?)
[...]
>
> You can find it here:
> http://webplaza.pt.lu/~mpjjjjsj/files/SGE.shar
>
Here is what happens:
% make generate-plist
===> 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 =-Wall -O3 -ffast-math
in Makefile.conf to something like this:
CFLAGS +=-Wall -ffast-math
* do not build the library at install time but rather at build time
* set USE_LDCONFIG=yes
* @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=
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 at address.bar>
--
Vasil Dimov
gro.DSBeerF at dv
Testing can show the presence of bugs, but not their absence.
-- Edsger W. Dijkstra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060804/d337978e/attachment.pgp
More information about the freebsd-ports
mailing list