aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-Khazad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/p5-Crypt-Khazad/Makefile')
-rw-r--r--security/p5-Crypt-Khazad/Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/security/p5-Crypt-Khazad/Makefile b/security/p5-Crypt-Khazad/Makefile
index 8734d0c4ea5e..5bc41cc114e6 100644
--- a/security/p5-Crypt-Khazad/Makefile
+++ b/security/p5-Crypt-Khazad/Makefile
@@ -17,17 +17,4 @@ PERL_CONFIGURE= yes
MAN3= Crypt::Khazad.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-BUILD_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader
-RUN_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader
-EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-Khazad.xs
-
-post-patch:
- ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/Khazad.pm
- ${PERL} -pi -e '$$_="" if m{warnings}' ${WRKSRC}/Khazad.pm ${WRKSRC}/t/*.t
- ${PERL} -pi -e 's/void/int argc, char**argv, char**env/ if m{int main}' ${WRKSRC}/_khazad.c
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>