From owner-freebsd-ports Sun Jan 17 07:40:04 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA27569 for freebsd-ports-outgoing; Sun, 17 Jan 1999 07:40:04 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA27524 for ; Sun, 17 Jan 1999 07:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA01401; Sun, 17 Jan 1999 07:40:00 -0800 (PST) Received: from ns.issei.org (ns.issei.org [210.169.187.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA27422 for ; Sun, 17 Jan 1999 07:38:08 -0800 (PST) (envelope-from issei@sandra.issei.org) Received: from sandra.issei.org (sandra.issei.org [210.169.187.134]) by ns.issei.org (8.9.2/3.7W-hub) with ESMTP id AAA09194 for ; Mon, 18 Jan 1999 00:38:02 +0900 (JST) Received: (from issei@localhost) by sandra.issei.org (8.9.2/8.9.1) id AAA19036; Mon, 18 Jan 1999 00:38:00 +0900 (JST) (envelope-from issei) Message-Id: <199901171538.AAA19036@sandra.issei.org> Date: Mon, 18 Jan 1999 00:38:00 +0900 (JST) From: issei@jp.FreeBSD.org To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/9540: Update port: japanese/perl5 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9540 >Category: ports >Synopsis: Update port: japanese/perl5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 17 07:40:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Issei Suzuki >Release: FreeBSD 3.0-CURRENT i386 >Organization: Personal >Environment: >Description: 1. Update PATCH_FILES to use new JPerl patch. 2. Use shared libperl (libperl.so.1) instead of static libperl. These changes are approved by maintainer. >How-To-Repeat: >Fix: Apply the following patch to that of ports-current. diff -urNb perl5.old/Makefile perl5/Makefile --- perl5.old/Makefile Sat Oct 10 22:33:00 1998 +++ perl5/Makefile Mon Jan 18 00:30:38 1999 @@ -32,17 +32,25 @@ ftp://ftp.cis.ufl.edu/pub/perl/CPAN/authors/id/WATANABE/ \ ftp://ftp.delphi.com/pub/mirrors/packages/perl/CPAN/authors/id/WATANABE/ \ ftp://uiarchive.cso.uiuc.edu/pub/lang/perl/CPAN/authors/id/WATANABE/ -PATCHFILES= jperl5.005_02-980929.pat.gz +PATCHFILES= jperl5.005_02-981225.pat.gz PATCH_DIST_STRIP= -p1 MAINTAINER= shige@kuis.kyoto-u.ac.jp +.include + HAS_CONFIGURE= yes CONFIGURE_SCRIPT= Configure -CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} +CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} -Duseshrplib \ + -Dlibperl=libperl.so.${PERL_SHLIBVER} PERL_VERSION= 5.00502 PERL_VER= 5.005 +.if ${PORTOBJFORMAT} == "aout" +PERL_SHLIBVER= 1.0 +.else +PERL_SHLIBVER= 1 +.endif PLIST_SUB= PERL_VERSION=${PERL_VERSION} PERL_VER=${PERL_VER} MAN1= a2p.1 c2ph.1 h2ph.1 h2xs.1 perl.1 perl5004delta.1 \ @@ -102,8 +110,6 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}/ -post-patch: - @(cd ${WRKSRC}; chmod +x t/kanji/*.t) test: @(cd ${WRKSRC}; make test) @@ -117,6 +123,7 @@ @${LN} -fs ${PREFIX}/bin/perl${PERL_VERSION} ${PREFIX}/bin/jperl${PERL_VERSION} @${LN} -fs ${PREFIX}/bin/sperl${PERL_VERSION} ${PREFIX}/bin/suidperl @${LN} -fs ${PREFIX}/bin/sperl${PERL_VERSION} ${PREFIX}/bin/jsuidperl + @${LN} -fs ${PREFIX}/lib/perl5/${PERL_VERSION}/i386-freebsd/CORE/libperl.so.${PERL_SHLIBVER} ${PREFIX}/lib/perl5/${PERL_VERSION}/i386-freebsd/CORE/libperl.so @PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL .include diff -urNb perl5.old/files/md5 perl5/files/md5 --- perl5.old/files/md5 Sat Oct 10 22:33:00 1998 +++ perl5/files/md5 Sun Jan 17 04:26:45 1999 @@ -1,2 +1,2 @@ MD5 (perl5.005_02.tar.gz) = de99ae45441f3c8c7d0749f35bdf47d5 -MD5 (jperl5.005_02-980929.pat.gz) = e6f362be161bc663721fd8ec6a96018a +MD5 (jperl5.005_02-981225.pat.gz) = 00df1c9eb43074e3573720df6d16c71f diff -urNb perl5.old/patches/patch-ae perl5/patches/patch-ae --- perl5.old/patches/patch-ae Sat Oct 10 22:34:00 1998 +++ perl5/patches/patch-ae Sun Jan 17 04:33:08 1999 @@ -1,5 +1,14 @@ ---- installperl.ORIG Thu Jul 30 15:58:50 1998 -+++ installperl Thu Jul 30 16:02:16 1998 +--- installperl.orig Fri Jul 24 13:00:24 1998 ++++ installperl Sun Jan 17 04:32:45 1999 +@@ -217,7 +217,7 @@ + @corefiles = <$coredir/*.*>; + } + else { +- @corefiles = <*.h libperl*.*>; ++ @corefiles = <*.h libperl.so.*>; + # AIX needs perl.exp installed as well. + push(@corefiles,'perl.exp') if $^O eq 'aix'; + # If they have built sperl.o... @@ -269,7 +269,7 @@ (-l $usrbinperl) && ((readlink $usrbinperl) eq $expinstperl)); diff -urNb perl5.old/pkg/DESCR perl5/pkg/DESCR --- perl5.old/pkg/DESCR Sat Oct 10 22:34:00 1998 +++ perl5/pkg/DESCR Sun Jan 17 04:26:45 1999 @@ -2,7 +2,7 @@ This port collection was used: port collection lang/perl5 by markm@FreeBSD.ORG, - and jperl5.005_02-980917 + and jperl5.005_02-981225 by yasushi@cs.washington.edu, port collection japanese/perl5 by shige@kuis.kyoto-u.ac.jp. diff -urNb perl5.old/pkg/PLIST perl5/pkg/PLIST --- perl5.old/pkg/PLIST Sat Oct 10 22:34:00 1998 +++ perl5/pkg/PLIST Mon Jan 18 00:31:45 1999 @@ -215,8 +215,9 @@ lib/perl5/%%PERL_VERSION%%/i386-freebsd/CORE/iperlsys.h lib/perl5/%%PERL_VERSION%%/i386-freebsd/CORE/keywords.h lib/perl5/%%PERL_VERSION%%/i386-freebsd/CORE/kanji.h -lib/perl5/%%PERL_VERSION%%/i386-freebsd/CORE/libperl.a -@exec ranlib %D/%F +lib/perl5/%%PERL_VERSION%%/i386-freebsd/CORE/libperl.so.1 +@exec ln -fs %D/%F %B/libperl.so +@unexec rm %B/libperl.so lib/perl5/%%PERL_VERSION%%/i386-freebsd/CORE/mg.h lib/perl5/%%PERL_VERSION%%/i386-freebsd/CORE/nostdio.h lib/perl5/%%PERL_VERSION%%/i386-freebsd/CORE/objXSUB.h >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message