aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Digest-DJB
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-03-31 20:33:58 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-03-31 20:33:58 +0000
commitc5fb2bb5569face0b9e8dd08993295fbc44c660a (patch)
treee967594121176f847548a780938793adf0e028e2 /security/p5-Digest-DJB
parent62a32f108169b463244dbde90bc50a10b18e45f4 (diff)
Notes
Diffstat (limited to 'security/p5-Digest-DJB')
-rw-r--r--security/p5-Digest-DJB/Makefile12
-rw-r--r--security/p5-Digest-DJB/files/extrapatch-DJB.xs18
2 files changed, 1 insertions, 29 deletions
diff --git a/security/p5-Digest-DJB/Makefile b/security/p5-Digest-DJB/Makefile
index 29888b1fbc2b..5861f9749779 100644
--- a/security/p5-Digest-DJB/Makefile
+++ b/security/p5-Digest-DJB/Makefile
@@ -17,14 +17,4 @@ PERL_CONFIGURE= yes
MAN3= Digest::DJB.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-EXTRA_PATCHES= ${PATCHDIR}/extrapatch-DJB.xs
-
-post-patch:
- ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/DJB.pm
- ${PERL} -pi -e '$$_="" if m{5.006|warnings}' ${WRKSRC}/DJB.pm
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/p5-Digest-DJB/files/extrapatch-DJB.xs b/security/p5-Digest-DJB/files/extrapatch-DJB.xs
deleted file mode 100644
index c019027fa0b4..000000000000
--- a/security/p5-Digest-DJB/files/extrapatch-DJB.xs
+++ /dev/null
@@ -1,18 +0,0 @@
---- DJB.xs.orig Sat Dec 24 10:44:54 2005
-+++ DJB.xs Sat Dec 24 10:45:41 2005
-@@ -2,6 +2,15 @@
- #include "perl.h"
- #include "XSUB.h"
-
-+/* 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
-+
- #define UCHAR unsigned char
-
- size_t