diff options
author | roam <roam@FreeBSD.org> | 2006-02-02 04:26:56 +0800 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2006-02-02 04:26:56 +0800 |
commit | 73e77b833a4c69dd85247def5849436cc9a4d6f4 (patch) | |
tree | b308b81f19f556b6f25f516b56aa54feb8304d21 /audio/p5-Audio-Scrobbler/Makefile | |
parent | 2fcc99c2d787399d637b53f6865408a84acec345 (diff) | |
download | freebsd-ports-gnome-73e77b833a4c69dd85247def5849436cc9a4d6f4.tar.gz freebsd-ports-gnome-73e77b833a4c69dd85247def5849436cc9a4d6f4.tar.zst freebsd-ports-gnome-73e77b833a4c69dd85247def5849436cc9a4d6f4.zip |
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)
Diffstat (limited to 'audio/p5-Audio-Scrobbler/Makefile')
-rw-r--r-- | audio/p5-Audio-Scrobbler/Makefile | 10 |
1 files 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 <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= needs at least Perl 5.6 for the UTF-8 handling +.endif + +.include <bsd.port.post.mk> |