Subject: Re: PKGMANDIR
To: Jeremy C. Reed <reed@reedmedia.net>
From: Stoned Elipot <seb@ssr.univ-paris7.fr>
List: tech-pkg
Date: 10/04/2005 23:31:44
Yes the fix is easy. But as I said previously the sweeping is 
painful.

On Tue, Oct 04, 2005 at 02:28:28PM -0700, Jeremy C. Reed wrote:
> On Tue, 4 Oct 2005, Stoned Elipot wrote:
> 
> >I saw you mail about PKGMANDIR after I posted mine...
> >
> >So I suppose you already did the sweeping ?
> 
> Not all.
> 
> Here is the fix for you at bottom of this email.
> 
> >Also you said that PLIST files could stay the same because
> >_PLIST_AWK_PKGMANDIR takes care of the rewriting. But print-PLIST
> >support of PKGMANDIR need to be added.
> 
> Yes. I had done that print-PLIST before, but for some reason (I can't 
> recall) I had problems. I will look at this again, unless someone does it 
> first.
> 
> Index: textproc/biblook/distinfo
> ===================================================================
> RCS file: /cvsroot/pkgsrc/textproc/biblook/distinfo,v
> retrieving revision 1.3
> diff -b -u -r1.3 distinfo
> --- textproc/biblook/distinfo	24 Feb 2005 14:48:40 -0000	1.3
> +++ textproc/biblook/distinfo	4 Oct 2005 21:25:50 -0000
> @@ -3,6 +3,6 @@
>  SHA1 (biblook.tar.gz) = 2bb056b806db4518c07e245fc86097c12938443b
>  RMD160 (biblook.tar.gz) = 116f8209e7f36d98a770b1fd911ce9a985dc2b45
>  Size (biblook.tar.gz) = 44691 bytes
> -SHA1 (patch-aa) = 35775eda3f306e2cfa07bc91ac14daa59b84e10b
> +SHA1 (patch-aa) = 924e3e708c04fadc9f9663fb19c509284eaebf27
>  SHA1 (patch-ab) = 7063e2d7b92a45b1f055ca201fe1d6b11bfec7bc
>  SHA1 (patch-ac) = 4d6ae0e4301a184b40c777712ee91ea739d7fbfe
> Index: textproc/biblook/patches/patch-aa
> ===================================================================
> RCS file: /cvsroot/pkgsrc/textproc/biblook/patches/patch-aa,v
> retrieving revision 1.1.1.1
> diff -b -u -r1.1.1.1 patch-aa
> --- textproc/biblook/patches/patch-aa	31 May 2001 10:54:21 -0000 1.1.1.1
> +++ textproc/biblook/patches/patch-aa	4 Oct 2005 21:25:50 -0000
> @@ -1,7 +1,7 @@
> -$NetBSD: patch-aa,v 1.1.1.1 2001/05/31 10:54:21 agc Exp $
> +$NetBSD$
> 
> ---- Makefile.orig	Tue Jan 31 21:15:22 1995
> -+++ Makefile
> +--- Makefile.orig	1995-01-31 12:15:22.000000000 -0800
> ++++ Makefile	2005-10-04 14:26:20.000000000 -0700
>  @@ -68,12 +68,15 @@
>   # [13-Sep-1993]
>   #=======================================================================
> @@ -19,6 +19,15 @@
>   # Compilation with a C++ compiler is preferable.  SunOS 4.1 CC cannot be
>   # used, however, because of its erroneous function prototypes in stdlib.h
>   # which use char* instead of void* in many places.  There is no such
> +@@ -148,7 +151,7 @@
> + LIBS		= /usr/lib/debug/malloc.o
> + LIBS		=
> + 
> +-MANDIR		= $(DEST)/man/man1
> ++MANDIR		= $(DEST)/$(PKGMANDIR)/man1
> + 
> + MANEXT		= 1
> +
>  @@ -243,16 +246,10 @@
>   	-$(RM) TAGS
> 
> 
> 
>     Jeremy C. Reed
>                         ``Of course it runs NetBSD.''
>                             http://www.NetBSD.org/