mozilla-firebird builds bogus plist

Gregory Bond gnb at itga.com.au
Wed Jul 23 22:16:12 PDT 2003


>Submitter-Id:	current-users
>Originator:	Gregory Bond
>Organization:	ITG Australia Limited
>Confidential:	no 
>Synopsis:	mozilla-firebird builds bogus plist
>Severity:	serious
>Priority:	low
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 4.8-STABLE i386
>Environment:
System: FreeBSD hellcat.itga.com.au 4.8-STABLE FreeBSD 4.8-STABLE #16: Thu Jul 24 11:25:45 EST 2003 toor at grollo.itga.com.au:/usr/obj/usr/src/sys/HELLCAT i386


>Description:

www/mozilla-firebird port builds a bogus plist with only 4 entries,
so making a package fails and deinstalling the port doesn't deinstall
the whole thing.

>How-To-Repeat:

cd /usr/ports/www/mozilla-firebird && make install && cat work/plist

After installing, running "make generate-plist" creates a reasonable
plist file.

>Fix:

I don't understand all the jiggerypokery going on here, but it seems like
the "make install" is doing this:
   rm -rf /usr/X11R6/lib/firebird (from the pre-install target)
   build the work/plist from /usr/X11R6/lib/firebird plus a bit of manual adding
	(from the cons-plist target)
   install into /usr/X11R6/lib/firebird (from the install target)
which looks like totally the wrong order.

Having a look at the CVS log for Mk/bsd.port.mk rev 1.455 indicates this
port might need to be re-worked.  Perhaps specify a static plist?

In the meantime, the following workaround seems to get by:
  cd /usr/ports/www/mozilla-firebird
  make install
  make generate-plist
  <edit the Makefile to remove "cons-plist" as a dependency for 
   generate-plist at the bottom of the Makefile>
  make deinstall
  make package


More information about the freebsd-gnome mailing list