Skip site navigation (1)Skip section navigation (2)
Date:      6 Sep 1998 02:15:39 +0900
From:      sada@e-mail.ne.jp
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7836: update port: japanese/p5-jcode.pl
Message-ID:  <19980905171539.16662.qmail@sada.e-mail.ne.jp>

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

>Number:         7836
>Category:       ports
>Synopsis:       Update port: japanese/p5-jcode.pl for Perl5.005
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep  5 10:20:01 PDT 1998
>Last-Modified:
>Originator:     SADA Kenji
>Organization:
Nagoya.Aichi.Japan
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

	FreeBSD 2.2.7-RELEASE i386

>Description:

	Update to work with Perl5.005.

>How-To-Repeat:
>Fix:

diff -urN p5-jcode.pl.orig/Makefile p5-jcode.pl/Makefile
--- p5-jcode.pl.orig/Makefile	Sun Sep  6 00:53:04 1998
+++ p5-jcode.pl/Makefile	Sun Sep  6 00:56:33 1998
@@ -17,8 +17,12 @@
 NO_BUILD=	YES
 USE_PERL5=	YES
 
+INSTALL_DIR=	${PREFIX}/lib/perl5/site_perl/${PERL_VER}
+
+.SILENT:
+
 do-install:
-	@${MKDIR} ${PREFIX}/lib/perl5/site_perl
-	@${LN} -sf ../../perl/jcode.pl ${PREFIX}/lib/perl5/site_perl
+	${MKDIR} ${INSTALL_DIR}
+	${LN} -sf ../../../perl/jcode.pl ${INSTALL_DIR}
 
 .include <bsd.port.mk>
diff -urN p5-jcode.pl.orig/pkg/PLIST p5-jcode.pl/pkg/PLIST
--- p5-jcode.pl.orig/pkg/PLIST	Sun Sep  6 00:53:04 1998
+++ p5-jcode.pl/pkg/PLIST	Sun Sep  6 00:59:33 1998
@@ -1,3 +1,2 @@
-@exec /bin/mkdir %D/lib/perl5/site_perl
-@exec /bin/ln -s ../../perl/jcode.pl %D/lib/perl5/site_perl
-@unexec /bin/rm -f %D/lib/perl5/site_perl/jcode.pl
+@exec /bin/ln -s ../../../perl/jcode.pl %D/lib/perl5/site_perl/%%PERL_VER%%
+@unexec /bin/rm -f %D/lib/perl5/site_perl/%%PERL_VER%%/jcode.pl
>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?19980905171539.16662.qmail>