diff options
author | linimon <linimon@FreeBSD.org> | 2007-09-08 08:45:08 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2007-09-08 08:45:08 +0800 |
commit | 07d9e093a64a0c7f96ed0775d50e0f818d98fd80 (patch) | |
tree | 02dbbd994569afd4c5091886b42b9fc57a56da98 /textproc/p5-XML-LibXSLT | |
parent | 19b5365f6b139c7191946e258da022ec68b68aae (diff) | |
download | freebsd-ports-gnome-07d9e093a64a0c7f96ed0775d50e0f818d98fd80.tar.gz freebsd-ports-gnome-07d9e093a64a0c7f96ed0775d50e0f818d98fd80.tar.zst freebsd-ports-gnome-07d9e093a64a0c7f96ed0775d50e0f818d98fd80.zip |
Remove support for antique perl.
Hat: portmgr
Diffstat (limited to 'textproc/p5-XML-LibXSLT')
-rw-r--r-- | textproc/p5-XML-LibXSLT/Makefile | 8 | ||||
-rw-r--r-- | textproc/p5-XML-LibXSLT/files/500503-patch-LibXSLT.xs | 26 |
2 files changed, 1 insertions, 33 deletions
diff --git a/textproc/p5-XML-LibXSLT/Makefile b/textproc/p5-XML-LibXSLT/Makefile index 39c8185ff48f..d2e44d990ae5 100644 --- a/textproc/p5-XML-LibXSLT/Makefile +++ b/textproc/p5-XML-LibXSLT/Makefile @@ -26,10 +26,4 @@ PERL_ABASE= ${SITE_PERL}/${PERL_ARCH} MAN3= XML::LibXSLT.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -EXTRA_PATCHES= ${FILESDIR}/500503-* -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/textproc/p5-XML-LibXSLT/files/500503-patch-LibXSLT.xs b/textproc/p5-XML-LibXSLT/files/500503-patch-LibXSLT.xs deleted file mode 100644 index 6ed285503380..000000000000 --- a/textproc/p5-XML-LibXSLT/files/500503-patch-LibXSLT.xs +++ /dev/null @@ -1,26 +0,0 @@ ---- LibXSLT.xs.orig Mon Mar 1 21:42:43 2004 -+++ LibXSLT.xs Sun May 16 20:21:57 2004 -@@ -29,6 +29,23 @@ - } - #endif - -+#ifndef dTHX -+#define dTHX extern int errno -+#endif -+ -+#ifndef SvPV_nolen -+#define SvPV_nolen(sv) \ -+ ((SvFLAGS(sv) & (SVf_POK)) == SVf_POK \ -+ ? SvPVX(sv) : sv_2pv_nolen(sv)) -+ -+static char * -+sv_2pv_nolen(register SV *sv) -+{ -+ STRLEN n_a; -+ return sv_2pv(sv, &n_a); -+} -+#endif -+ - #define SET_CB(cb, fld) \ - RETVAL = cb ? newSVsv(cb) : &PL_sv_undef;\ - if (SvOK(fld)) {\ |