Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2004 00:18:03 +0100 (CET)
From:      Eugene@badger.home, Ossintsev@badger.home
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73842: [maintainer-update] lang/ocaml: an empty directory fix
Message-ID:  <20041111231803.346622226@badger.home>
Resent-Message-ID: <200411112320.iABNKQJn042653@freefall.freebsd.org>

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

>Number:         73842
>Category:       ports
>Synopsis:       [maintainer-update] lang/ocaml: an empty directory fix
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 11 23:20:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Ossintsev
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD badger.home 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Nov 9 22:34:36 CET 2004 root@:/usr/obj/usr/src/sys/BADGER i386
>Description:
Add an empty directory to the package, so deinstalling of the package
does not produce the warning about a nonexisting directory.
>How-To-Repeat:
	
>Fix:
diff -ruN ocaml.orig/Makefile ocaml/Makefile
--- ocaml.orig/Makefile	Sat Aug 21 08:31:29 2004
+++ ocaml/Makefile	Thu Nov 11 23:58:11 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	ocaml
 PORTVERSION=	3.08.1
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	http://caml.inria.fr/distrib/${DISTNAME:S/.1$//}/ \
 		ftp://ftp.inria.fr/INRIA/caml-light/${DISTNAME:S/.1$//}/ \
@@ -88,6 +89,7 @@
 .endif
 
 post-install:
+	@${TOUCH} ${PREFIX}/lib/ocaml/ocamldoc/custom/.keep
 .if !defined(WITHOUT_TK)
 	@${MKDIR} ${EXAMPLESDIR}
 	@${MKDIR} ${EXAMPLESDIR}/labltk
diff -ruN ocaml.orig/pkg-plist ocaml/pkg-plist
--- ocaml.orig/pkg-plist	Sat Aug 21 08:31:29 2004
+++ ocaml/pkg-plist	Thu Nov 11 23:47:15 2004
@@ -479,6 +479,7 @@
 %%TK%%lib/ocaml/labltk/wm.cmi
 %%TK%%lib/ocaml/labltk/wm.cmx
 %%TK%%lib/ocaml/labltk/wm.mli
+lib/ocaml/ocamldoc/custom/.keep
 lib/ocaml/ocamldoc/ocamldoc.hva
 lib/ocaml/ocamldoc/odoc.cmi
 lib/ocaml/ocamldoc/odoc_analyse.cmi
>Release-Note:
>Audit-Trail:
>Unformatted:



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