From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 7 10:30:09 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8273416A4CE for ; Thu, 7 Apr 2005 10:30:09 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C57C43D49 for ; Thu, 7 Apr 2005 10:30:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j37AU8GP048486 for ; Thu, 7 Apr 2005 10:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j37AU8P4048485; Thu, 7 Apr 2005 10:30:08 GMT (envelope-from gnats) Resent-Date: Thu, 7 Apr 2005 10:30:08 GMT Resent-Message-Id: <200504071030.j37AU8P4048485@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sam Lawrance Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BB4516A4CE for ; Thu, 7 Apr 2005 10:27:46 +0000 (GMT) Received: from bloodwood.hunterlink.net.au (smtp-local.hunterlink.net.au [203.12.144.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC3ED43D46 for ; Thu, 7 Apr 2005 10:27:44 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from localhost (ppp298A.dyn.pacific.net.au [61.8.41.138]) j37ARRJn020108; Thu, 7 Apr 2005 20:27:27 +1000 Received: by localhost (Postfix, from userid 0) id E951B18E; Thu, 7 Apr 2005 20:27:34 +1000 (EST) Message-Id: <20050407102734.E951B18E@localhost> Date: Thu, 7 Apr 2005 20:27:34 +1000 (EST) From: Sam Lawrance To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: erik@smluc.org Subject: ports/79620: [PATCH] lang/gauche: add PORTDOCS dir for benefit of other ports X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2005 10:30:09 -0000 >Number: 79620 >Category: ports >Synopsis: [PATCH] lang/gauche: add PORTDOCS dir for benefit of other ports >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 07 10:30:08 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Sam Lawrance >Release: FreeBSD 5.4-PRERELEASE i386 >Organization: >Environment: System: FreeBSD dirk.no.domain 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #11: Sun Mar 6 12:44:50 EST >Description: A number of gauche "module" ports install docs into share/doc/gauche/XYZZY, and have to worry about removing it when they are deinstalled. This causes a small problem for gauche-gaunit because of the order in which the packing list commands are executed, ie @unexec rmdir %D/share/doc/gauche followed by removal of PORTDOCS entries under share/doc/gauche (obviously you can't rmdir share/doc/gauche before the PORTDOCS are removed, so it doesn't work). >How-To-Repeat: >Fix: Add share/doc/gauche (and a .keepme) to the install and pkg-plist --- gauche-0.8.3_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/FreeBSD/ports/lang/gauche/Makefile,v retrieving revision 1.31 diff -u -r1.31 Makefile --- Makefile 20 Feb 2005 14:52:28 -0000 1.31 +++ Makefile 7 Apr 2005 10:13:29 -0000 @@ -58,6 +58,8 @@ ${TOUCH} ${PREFIX}/share/gauche/site/lib/.keepme ${TOUCH} ${PREFIX}/lib/gauche/site/${PORTVERSION}/${CONFIGURE_TARGET}/.keepme ${MKDIR} ${PREFIX}/share/gauche/${PORTVERSION}/lib/.packages + ${MKDIR} ${DOCSDIR} + ${TOUCH} ${DOCSDIR}/.keepme .if !defined(NOPORTDOCS) ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${MANPREFIX}/man/man1/ Index: pkg-plist =================================================================== RCS file: /home/ncvs/FreeBSD/ports/lang/gauche/pkg-plist,v retrieving revision 1.17 diff -u -r1.17 pkg-plist --- pkg-plist 20 Feb 2005 14:52:28 -0000 1.17 +++ pkg-plist 7 Apr 2005 08:11:01 -0000 @@ -210,6 +210,7 @@ share/gauche/%%VERSION%%/lib/www/cgi-test.scm share/gauche/%%VERSION%%/lib/www/cgi.scm share/gauche/site/lib/.keepme +%%DOCSDIR%%/.keepme @dirrm share/gauche/site/lib @dirrm share/gauche/site @dirrm share/gauche/%%VERSION%%/lib/www @@ -244,3 +245,4 @@ @dirrm lib/gauche/%%VERSION%%/%%TARGET%% @dirrm lib/gauche/%%VERSION%% @dirrm lib/gauche +@dirrm %%DOCSDIR%% --- gauche-0.8.3_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: