Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2002 01:48:18 +0930
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        "David O'Brien" <obrien@FreeBSD.ORG>
Cc:        sobomax@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: Tools/scripts/patchtool.py
Message-ID:  <20020419014817.A69671@misty.eyesbeyond.com>
In-Reply-To: <20020418080638.A86691@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Thu, Apr 18, 2002 at 08:06:39AM -0700
References:  <20020418080638.A86691@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 18, 2002 at 08:06:39AM -0700, David O'Brien wrote:
> I also do not understand why every patch in ports/java/jdk13/files is
> named "patch-.." by your script (ie, why the ..).  But maybe we can work
> on that next.  Making a few changes will make living with these silly
> paths easier as at least they will fit on a single 80 character line in
> an ls listing.

Its probably due to WRKSRC being ${WRKDIR}/j2sdk1.3.1/make, meaning that
relative to this, all the patches which apply to the src or ext directories
start with ..

> Index: patchtool.py
> ===================================================================
> RCS file: /home/ncvs/ports/Tools/scripts/patchtool.py,v
> retrieving revision 1.9
> diff -u -r1.9 patchtool.py
> --- patchtool.py	17 Apr 2002 10:58:57 -0000	1.9
> +++ patchtool.py	18 Apr 2002 15:02:16 -0000
> @@ -50,8 +50,8 @@
>  	DEV_NULL = '/dev/null'
>  	ETC_MAKE_CONF = '/etc/make.conf'
>  	
> -	SLASH_REPL_SYMBOL = '::'	# The sysmbol to replace '/' when auto-generating
> -							# patchnames
> +	SLASH_REPL_SYMBOL = '_'		# The sysmbol to replace '/' when
> +					# auto-generating patchnames

Please fix the misspelling of symbol as sysmbol in the comment at the same 
time if this gets committed :).

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Web   : http://www.eyesbeyond.com
Information Technology


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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