Date: Thu, 7 Apr 2005 20:27:34 +1000 (EST) From: Sam Lawrance <boris@brooknet.com.au> To: FreeBSD-gnats-submit@FreeBSD.org Cc: erik@smluc.org Subject: ports/79620: [PATCH] lang/gauche: add PORTDOCS dir for benefit of other ports Message-ID: <20050407102734.E951B18E@localhost> Resent-Message-ID: <200504071030.j37AU8P4048485@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050407102734.E951B18E>