From trevor@jpj.net  Fri Jun  2 03:43:55 2000
Return-Path: <trevor@jpj.net>
Received: from blues.jpj.net (blues.jpj.net [204.97.17.146])
	by hub.freebsd.org (Postfix) with ESMTP id 225CF37B7B1
	for <FreeBSD-gnats-submit@FreeBSD.ORG>; Fri,  2 Jun 2000 03:43:54 -0700 (PDT)
	(envelope-from trevor@jpj.net)
Received: from localhost (trevor@localhost)
	by blues.jpj.net (right/backatcha) with ESMTP id e52AhqA11088
	for <FreeBSD-gnats-submit@FreeBSD.ORG>; Fri, 2 Jun 2000 06:43:52 -0400 (EDT)
Message-Id: <Pine.BSI.4.21.0006020620330.7119-100000@blues.jpj.net>
Date: Fri, 2 Jun 2000 06:43:52 -0400 (EDT)
From: Trevor Johnson <trevor@jpj.net>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: extra files fix for audio/sphinx

>Number:         18963
>Category:       ports
>Synopsis:       extra files fix for audio/sphinx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 02 03:50:01 PDT 2000
>Closed-Date:    Fri Jun 2 06:35:37 PDT 2000
>Last-Modified:  Fri Jun 02 06:36:26 PDT 2000
>Originator:     Trevor Johnson
>Release:        4.0-CURRENT
>Organization:
myself
>Environment:

FreeBSD tethys.csudh.edu 4.0-20000214-CURRENT FreeBSD 4.0-20000214-CURRENT
#0: Tue Feb 15 01:45:52 GMT 2000
root@monster.cdrom.com:/usr/src/sys/compile/GENERIC  i386

>Description:

I'm the maintainer of the sphinx port.  In
http://bento.freebsd.org/errorlogs/4-latest/sphinx-2.0.2.log and
http://bento.freebsd.org/errorlogs/5-latest/sphinx-2.0.2.log it's noted
that the port leaves a broken symlink behind when it's uninstalled.

>How-To-Repeat:

Install the port, then do "cd /usr/ports/audio/sphinx; make deinstall" or
"pkg_delete sphinx-2.0.2" and look for the /usr/local/lib/libsphinx2.so
remaining.

>Fix:

diff -ruN sphinx.orig/pkg/PLIST sphinx/pkg/PLIST
--- sphinx.orig/pkg/PLIST	Mon May 29 19:59:39 2000
+++ sphinx/pkg/PLIST	Fri Jun  2 03:18:38 2000
@@ -19,6 +19,7 @@
 bin/sphinx2-test
 bin/stress2sphinx
 lib/libsphinx2.a
+lib/libsphinx2.so
 lib/libsphinx2.so.1
 share/sphinx2/doc/README.bin
 share/sphinx2/doc/README.lib


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: will 
State-Changed-When: Fri Jun 2 06:35:37 PDT 2000 
State-Changed-Why:  
Committed, thanks!  I also added the necessary ldconfig 
commands to PLIST (I must have missed that in the original 
import :-). 

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