Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2005 14:16:11 GMT
From:      Jun Mukai <mukai@jmuk.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/84484: [patch] ocaml-extlib: error when deinstall
Message-ID:  <200508021416.j72EGBVY099434@www.freebsd.org>
Resent-Message-ID: <200508021420.j72EKFHM025770@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         84484
>Category:       ports
>Synopsis:       [patch] ocaml-extlib: error when deinstall
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 02 14:20:14 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508021416.j72EGBVY099434>