Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2001 17:13:10 +0300
From:      skv@protey.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32871: Update port: p5-XML-Parser-encodings-1.02 
Message-ID:  <E16FFYs-000D8p-00@3wgraphics.com>

next in thread | raw e-mail | index | archive | help

>Number:         32871
>Category:       ports
>Synopsis:       Update port: p5-XML-Parser-encodings-1.02
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 15 06:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Skvortsov
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
<Organization of PR author (multiple lines)>
>Environment:

	<Relevant environment information (multiple lines)>

>Description:

Update port: p5-XML-Parser-encodings-1.02

Additional russian encodings for XML::Parser

>How-To-Repeat:

	<Code/input/activities to reproduce the problem (multiple lines)>

>Fix:

diff -ur p5-XML-Parser-encodings-1.01/Makefile p5-XML-Parser-encodings/Makefile
--- p5-XML-Parser-encodings-1.01/Makefile	Sat Dec 15 17:07:08 2001
+++ p5-XML-Parser-encodings/Makefile	Sat Dec 15 17:11:52 2001
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	XML-Parser-encodings
-PORTVERSION=	1.01
+PORTVERSION=	1.02
 CATEGORIES=	russian textproc perl5
 PKGNAMEPREFIX=	p5-
 DISTFILES=
@@ -20,13 +20,13 @@
 		${NONEXISTENT}:${PORTSDIR}/converters/iconv-extra:extract
 
 NO_WRKSUBDIR=	YES
-
 RUSSIANENC=	windows-1251 koi8-r cp1251 cp866 mac-cyrillic
 
 post-extract:
 .for ICONVPORT in iconv iconv-extra
-	${LN} -sfh `find ${PORTSDIR}/converters/${ICONVPORT} -type d \
-		-name "ccs"` ${WRKSRC}/${ICONVPORT}
+	@${LN} -s \
+	`cd ${PORTSDIR}/converters/${ICONVPORT} && ${MAKE} -V WRKSRC`/ccs \
+	${WRKSRC}/${ICONVPORT}
 .endfor
 
 do-configure:
@@ -42,7 +42,7 @@
 do-build:
 .for ENC in ${RUSSIANENC}
 	@${PREFIX}/bin/make_encmap ${ENC} ${WRKDIR}/${ENC}.txt | \
-	${PERL} -pi -e "s/(?<=^<encmap name='${ENC}')()(?=>)/ expat='yes'/;" \
+	@${PERL} -pi -e "s/(?<=^<encmap name='${ENC}')()(?=>)/ expat='yes'/;" \
 		>${WRKDIR}/${ENC}.xml
 	@${PREFIX}/bin/compile_encoding \
 		-o ${WRKDIR}/${ENC}.enc ${WRKDIR}/${ENC}.xml
>Release-Note:
>Audit-Trail:
>Unformatted:

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?E16FFYs-000D8p-00>