From nobody@FreeBSD.org  Tue Aug  2 14:16:12 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 17EA116A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Aug 2005 14:16:12 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DD9B643D49
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Aug 2005 14:16:11 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j72EGBDb099435
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 2 Aug 2005 14:16:11 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j72EGBVY099434;
	Tue, 2 Aug 2005 14:16:11 GMT
	(envelope-from nobody)
Message-Id: <200508021416.j72EGBVY099434@www.freebsd.org>
Date: Tue, 2 Aug 2005 14:16:11 GMT
From: Jun Mukai <mukai@jmuk.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] ocaml-extlib: error when deinstall
X-Send-Pr-Version: www-2.3

>Number:         84484
>Category:       ports
>Synopsis:       [patch] ocaml-extlib: error when deinstall
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lawrance
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 02 14:20:14 GMT 2005
>Closed-Date:    Wed Aug 03 09:49:02 GMT 2005
>Last-Modified:  Wed Aug 03 09:49:02 GMT 2005
>Originator:     Jun Mukai
>Release:        FreeBSD 4.10-RELEASE
>Organization:
>Environment:
FreeBSD verraeter 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue Jun  1 14:16:21 JST 2004     mukai@verraeter:/usr/obj/usr/src/sys/VERRAETER  i386
>Description:
      ocaml-extlib places documents at LOCALBASE/share/doc/ocaml/extlib but does not remove LOCALBASE/share/doc/ocaml.
>How-To-Repeat:
# make install
# make deinstall
(there remains /usr/local/share/doc/ocaml)

>Fix:
switches documentation directory to LOCALBASE/share/doc/ocaml-extlib, which is similar to other many ocaml packages.

Following fix proposed.
************************************************** diff -u Makefile{.orig,}
--- Makefile.orig       Tue Aug  2 22:48:00 2005
+++ Makefile    Tue Aug  2 22:48:34 2005
@@ -7,6 +7,7 @@

 PORTNAME=      extlib
 PORTVERSION=   1.3
+PORTREVISION=  1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=    ocaml-lib
@@ -19,20 +20,15 @@
 BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
                ocamlfind:${PORTSDIR}/devel/ocaml-findlib

-BROKEN=                Incomplete pkg-plist
-DEPRECATED=    ${BROKEN}
-EXPIRATION_DATE=2005-09-22
-
 USE_GMAKE=     yes
 ALL_TARGET=    all opt
-ALL_TARGET=    all opt
 .if !defined(NOPORTDOCS)
 ALL_TARGET+=   doc
 PLIST_SUB+=    PORTDOCS=""
 .else
 PLIST_SUB+=    PORTDOCS="@comment "
 .endif
-DOCSDIR=       ${PREFIX}/share/doc/ocaml/${PORTNAME}
+DOCSDIR=       ${PREFIX}/share/doc/ocaml-${PORTNAME}

 post-install:
 .if !defined(NOPORTDOCS)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lawrance 
Responsible-Changed-By: lawrance 
Responsible-Changed-When: Tue Aug 2 15:08:38 GMT 2005 
Responsible-Changed-Why:  
Take 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84484 
State-Changed-From-To: open->closed 
State-Changed-By: lawrance 
State-Changed-When: Wed Aug 3 09:48:26 GMT 2005 
State-Changed-Why:  
Committed, thanks! 
(no need to bump PORTREVISION) 

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