summaryrefslogtreecommitdiff
path: root/editors/nvi-perl
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>1999-05-09 03:40:18 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>1999-05-09 03:40:18 +0000
commitf90e5198b5b4145bb1efb32e7416b945360125a5 (patch)
tree17acc696218bb8d2d35521a4995913606bbafcfb /editors/nvi-perl
parentPort include files go under /usr/X11R6/include, not /usr/X11R6/share/include (diff)
Fix for perl5.
Submitted by: Yasuhiro Fukuma <yasuf@big.or.jp>
Diffstat (limited to 'editors/nvi-perl')
-rw-r--r--editors/nvi-perl/Makefile4
-rw-r--r--editors/nvi-perl/files/patch-ab13
2 files changed, 12 insertions, 5 deletions
diff --git a/editors/nvi-perl/Makefile b/editors/nvi-perl/Makefile
index c397bd4b9b6d..e0704e79c955 100644
--- a/editors/nvi-perl/Makefile
+++ b/editors/nvi-perl/Makefile
@@ -3,7 +3,7 @@
# Date created: 18 Feb 1998
# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org>
#
-# $Id: Makefile,v 1.10 1998/08/18 08:53:30 asami Exp $
+# $Id: Makefile,v 1.11 1999/05/07 17:01:52 itojun Exp $
#
DISTNAME= nvi-1.79
@@ -14,8 +14,6 @@ MASTER_SITES= ftp://sleepy.vwh.net/pub/ \
MAINTAINER= itojun@itojun.org
-BROKEN= original distribution is incompatible with perl5
-
WRKSRC= ${WRKDIR}/${DISTNAME}/build
GNU_CONFIGURE= yes
USE_PERL5= yes
diff --git a/editors/nvi-perl/files/patch-ab b/editors/nvi-perl/files/patch-ab
index 8df32b0abac5..57fafcb79fe3 100644
--- a/editors/nvi-perl/files/patch-ab
+++ b/editors/nvi-perl/files/patch-ab
@@ -1,5 +1,14 @@
---- perl_api/perl.xs.orig Thu Feb 19 23:50:23 1998
-+++ perl_api/perl.xs Thu Feb 19 23:50:38 1998
+--- perl_api/perl.xs.orig Thu Oct 17 03:16:34 1996
++++ perl_api/perl.xs Sun May 9 01:42:05 1999
+@@ -142,7 +142,7 @@
+ perl_call_argv("VI::bootstrap", G_DISCARD, bootargs);
+ perl_eval("$SIG{__WARN__}='VI::Warn'");
+
+- av_unshift(av = GvAVn(incgv), 1);
++ av_unshift(av = GvAVn(PL_incgv), 1);
+ av_store(av, 0, newSVpv(_PATH_PERLSCRIPTS,
+ sizeof(_PATH_PERLSCRIPTS)-1));
+
@@ -418,7 +418,7 @@
xs_init()
{