From gnb@itga.com.au  Wed Jul 23 22:16:12 2003
Return-Path: <gnb@itga.com.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 80D6A37B401; Wed, 23 Jul 2003 22:16:12 -0700 (PDT)
Received: from ns1.itga.com.au (ns1.itga.com.au [202.53.40.214])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 1064C43F85; Wed, 23 Jul 2003 22:16:11 -0700 (PDT)
	(envelope-from gnb@itga.com.au)
Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20])
	by ns1.itga.com.au (8.12.9/8.12.9) with ESMTP id h6O5G7MS090017;
	Thu, 24 Jul 2003 15:16:07 +1000 (EST)
	(envelope-from gnb@itga.com.au)
Received: from hellcat.itga.com.au (hellcat.itga.com.au [10.132.2.163])
	by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id PAA16441;
	Thu, 24 Jul 2003 15:16:07 +1000 (EST)
Received: from hellcat.itga.com.au (localhost [127.0.0.1])
	by hellcat.itga.com.au (8.12.9/8.12.9) with ESMTP id h6O5G77l011150;
	Thu, 24 Jul 2003 15:16:07 +1000 (EST)
	(envelope-from gnb@hellcat.itga.com.au)
Received: (from gnb@localhost)
	by hellcat.itga.com.au (8.12.9/8.12.9/Submit) id h6O5G7QI011149;
	Thu, 24 Jul 2003 15:16:07 +1000 (EST)
Message-Id: <200307240516.h6O5G7QI011149@hellcat.itga.com.au>
Date: Thu, 24 Jul 2003 15:16:07 +1000 (EST)
From: Gregory Bond <gnb@itga.com.au>
Reply-To: Gregory Bond <gnb@itga.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gnome@freebsd.org
Subject: mozilla-firebird builds bogus plist
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         54795
>Category:       ports
>Synopsis:       mozilla-firebird builds bogus plist
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 23 22:20:00 PDT 2003
>Closed-Date:    Thu Jul 24 11:36:56 PDT 2003
>Last-Modified:  Thu Jul 24 11:36:56 PDT 2003
>Originator:     Gregory Bond
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
ITG Australia Limited
>Environment:
System: FreeBSD hellcat.itga.com.au 4.8-STABLE FreeBSD 4.8-STABLE #16: Thu Jul 24 11:25:45 EST 2003 toor@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
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: erwin 
Responsible-Changed-When: Thu Jul 24 00:31:20 PDT 2003 
Responsible-Changed-Why:  
Over to maintainers 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54795 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Thu Jul 24 11:36:43 PDT 2003 
State-Changed-Why:  
Fixed, thanks for reporting. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54795 
>Unformatted:
