From 73e77b833a4c69dd85247def5849436cc9a4d6f4 Mon Sep 17 00:00:00 2001 From: roam Date: Wed, 1 Feb 2006 20:26:56 +0000 Subject: Arrrrgh. Use PERL_ARCH properly instead of hardcoding "mach". While I'm here, mark it as IGNORE'd on Perl versions earlier than 5.6 anyway - we kinda need all the goodies provided by "use bytes" and friends. Reported by: pointyhat via kris Pointy hat to: roam (myself) --- audio/p5-Audio-Scrobbler/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/audio/p5-Audio-Scrobbler/Makefile b/audio/p5-Audio-Scrobbler/Makefile index b9dafb75b605..c713b8a6e6e5 100644 --- a/audio/p5-Audio-Scrobbler/Makefile +++ b/audio/p5-Audio-Scrobbler/Makefile @@ -16,7 +16,7 @@ MAINTAINER= roam@FreeBSD.org COMMENT= A Perl interface to Last.fm / AudioScrobbler BUILD_DEPENDS= ${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles \ - ${SITE_PERL}/mach/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ + ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ ${SITE_PERL}/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww RUN_DEPENDS= ${BUILD_DEPENDS} @@ -25,4 +25,10 @@ PERL_CONFIGURE= yes MAN1= scrobbler-helper.1 MAN3= Audio::Scrobbler.3 -.include +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= needs at least Perl 5.6 for the UTF-8 handling +.endif + +.include -- cgit