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 /databases/p5-Search-Namazu | |
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 'databases/p5-Search-Namazu')
-rw-r--r-- | databases/p5-Search-Namazu/Makefile | 8 | ||||
-rw-r--r-- | databases/p5-Search-Namazu/files/extrapatch-Namazu.xs | 18 |
2 files changed, 1 insertions, 25 deletions
diff --git a/databases/p5-Search-Namazu/Makefile b/databases/p5-Search-Namazu/Makefile index f3f562a5010e..7a946024e4db 100644 --- a/databases/p5-Search-Namazu/Makefile +++ b/databases/p5-Search-Namazu/Makefile @@ -21,10 +21,4 @@ PERL_CONFIGURE= YES MAN3= Search::Namazu.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-Namazu.xs -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/databases/p5-Search-Namazu/files/extrapatch-Namazu.xs b/databases/p5-Search-Namazu/files/extrapatch-Namazu.xs deleted file mode 100644 index 0675c90f6983..000000000000 --- a/databases/p5-Search-Namazu/files/extrapatch-Namazu.xs +++ /dev/null @@ -1,18 +0,0 @@ ---- Namazu.xs.orig Fri Jun 2 21:58:37 2006 -+++ Namazu.xs Fri Jun 2 21:59:07 2006 -@@ -46,6 +46,15 @@ - } - #endif - -+/* try to be compatible with older perls */ -+/* SvPV_nolen() macro first defined in 5.005_55 */ -+/* this is slow, not threadsafe, but works */ -+#include "patchlevel.h" -+#if (PATCHLEVEL == 4) || ((PATCHLEVEL == 5) && (SUBVERSION < 55)) -+static STRLEN nolen_na; -+# define SvPV_nolen(sv) SvPV ((sv), nolen_na) -+#endif -+ - /* for old perl (< 5.004_04?) */ - #if !defined(PL_na) && defined(na) - #define PL_na na |