Subject: Re: lynx build asking for file to patch
To: Mark E. Perkins <perkinsm@bway.net>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 05/15/2004 19:26:30
On Sat, 15 May 2004, Mark E. Perkins wrote:

> It looks as though the distribution patches need patching... Responding to
> each 'File to patch:' with the file name sans '2.8.5rel.2/' gets things
> running smoothly (including application of the pkgsrc patches.
>
> FWIW, this is on MacOSX 10.2.8. I'm updating pkgsrc on a 1.6 NetBSD/mac68k
> system to see if the problem is more general and will send-pr what I find.

Try this...

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/lynx/Makefile,v
retrieving revision 1.72
diff -u -r1.72 Makefile
--- Makefile	7 May 2004 15:25:14 -0000	1.72
+++ Makefile	16 May 2004 00:19:52 -0000
@@ -10,6 +10,7 @@
 		ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/WWW/lynx/${DISTNAME}/
 EXTRACT_SUFX=	.tar.bz2

+PATCH_DIST_STRIP= -p1
 PATCH_SITES=	${MASTER_SITES:=patches/}
 PATCHFILES=	2.8.5rel.2.patch.gz


It actually works both ways on NetBSD - "-p1" and the default "-p0",
but it sounds like it should really have been "-p1".

Frederick