pkgsrc/textproc/eperl/patches/patch-ac
jlam 62b56b94c0 Make this work and de-install properly with perl5 + perl5-current.
Include code in the Makefile to show how to use the installed .packlist
to dynamically generate a PLIST for this package.  I couldn't use the
solution proposed on tech-pkg since eperl installed some stuff in
${PERL5_SITELIB} under perl-5.00404, but in ${PERL_SITEARCH} under
perl-5.6.0.  I imagine other modules will also show this difficulty
since the Makefile for eperl was generated by ExtUtils::MakeMaker, so I
think the .packlist way is the right thing to do.
2000-08-15 01:12:15 +00:00

16 lines
412 B
Text

$NetBSD: patch-ac,v 1.1 2000/08/15 01:12:16 jlam Exp $
--- eperl_perl5.c.orig Sun Aug 2 10:33:55 1998
+++ eperl_perl5.c Sat Aug 12 04:34:39 2000
@@ -39,6 +39,11 @@
#include "eperl_perl5_sm.h"
#include "eperl_proto.h"
+#if AC_perl_vnum >= 510600
+#define PERL_POLLUTE 1
+#include <embedvar.h> /* declaration of curstash */
+#endif
+
#ifdef HAVE_PERL_DYNALOADER
extern void boot_DynaLoader _((CV* cv));