diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2007-09-08 00:45:08 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2007-09-08 00:45:08 +0000 |
commit | 41a56135d1e8a68844e4c575702cdbad451d7322 (patch) | |
tree | 009db3c80e9f224065cf6fcece6157eb9a5ad509 /databases/p5-Search-Namazu | |
parent | 8bf833f73199c3dc4303aad884f8483e5c33613a (diff) | |
download | ports-41a56135d1e8a68844e4c575702cdbad451d7322.tar.gz ports-41a56135d1e8a68844e4c575702cdbad451d7322.zip |
Notes
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 |